Retrieve all CSAT scores for the organization with pagination
curl --request GET \
--url https://api.open.cx/csat/scores \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"score": 3,
"comment": "<string>",
"channel": "web",
"created_at": "<string>",
"updated_at": "<string>",
"contact": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"phone_number": "<string>",
"name": "<string>",
"custom_data": {}
}
}
],
"current_page": 123,
"per_page": 123,
"total": 123,
"total_pages": 123
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successfully retrieved CSAT scores
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.open.cx/csat/scores \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"score": 3,
"comment": "<string>",
"channel": "web",
"created_at": "<string>",
"updated_at": "<string>",
"contact": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"phone_number": "<string>",
"name": "<string>",
"custom_data": {}
}
}
],
"current_page": 123,
"per_page": 123,
"total": 123,
"total_pages": 123
}