GET
/
api
/
tickets
/
{ticketId}
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Successful response

The response is of type object.