API — Tickets
API — Tickets
Section titled “API — Tickets”Criar Ticket
Section titled “Criar Ticket”POST /v2/api/external/{ApiID}/createTicketBody JSON:
{ "contactId": 123, "queueId": 1, "userId": 5, "status": "open"}Atualizar Informações do Ticket
Section titled “Atualizar Informações do Ticket”POST /v2/api/external/{ApiID}/updateticketinfoBody JSON (campos possíveis):
{ "ticketId": 456, "status": "closed", "userId": 3, "queueId": 1}Status disponíveis: open, pending, closed
Buscar Informações do Ticket
Section titled “Buscar Informações do Ticket”POST /v2/api/external/{ApiID}/showticketBody JSON:
{ "ticketId": 456}Criar Nota Interna
Section titled “Criar Nota Interna”POST /v2/api/external/{ApiID}/createNotesBody JSON:
{ "ticketId": 456, "note": "Cliente solicitou retorno até sexta-feira"}Enviar Presença (digitando…)
Section titled “Enviar Presença (digitando…)”POST /v2/api/external/{ApiID}/sendPresenceBody JSON:
{ "ticketId": 456, "type": "composing"}| Type | Descrição |
|---|---|
composing | Digitando |
recording | Gravando áudio |
paused | Parou |