Skip to main content
GET
/
tickets
/
{id}
/
messages
Get messages of a ticket
curl --request GET \
  --url https://api.qminder.com/v1/tickets/{id}/messages \
  --header 'X-Qminder-REST-API-Key: <api-key>'
"{\n  \"statusCode\": 200,\n  \"messages\": [\n    {\n      \"created\": {\n        \"date\": \"2017-04-12T16:27:57Z\"\n      },\n      \"body\": \"It's your turn!\",\n      \"type\": \"OUTGOING\",\n      \"status\": \"SENT\",\n      \"userId\": 15000\n    },\n    {\n      \"created\": {\n        \"date\": \"2017-04-17T11:50:13Z\"\n      },\n      \"body\": \"Thank you!\",\n      \"type\": \"INCOMING\",\n      \"status\": \"NEW\"\n    }\n  ]\n}"

Authorizations

X-Qminder-REST-API-Key
string
header
default:yourbusinessapikey
required

Path Parameters

id
string
required

The ID of the ticket to load messages for.

Response

200 - application/json

200

statusCode
integer
default:0
Example:

200

messages
object[]