Retrieve CSAT score for a specific session
cURL
curl --request GET \ --url https://api.open.cx/csat/scores/session/{session_id} \ --header 'Authorization: Bearer <token>'
{ "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": {} } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully retrieved CSAT score for the session, or null if not found
The response is of type object.
object
Was this page helpful?