cURL
curl --request GET \ --url https://api.atendai.com/api/tickets/{ticketId} \ --header 'Authorization: Bearer <token>'
{ "id": "id-do-ticket", "order": 1, "status": "open", "unreadMessages": 0, "lastMessage": "Última mensagem enviada", "isGroup": false, "isBot": false, "channel": "evolution", "userId": "id-do-usuario", "contactId": "id-do-contato", "whatsappId": "id-da-conexao", "queueId": null, "companyId": "id-da-empresa", "chatConversationId": null, "createdAt": "data-de-criacao", "updatedAt": "data-da-ultima-atualizacao" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object