Skip to main content
PUT
Update conversation

Authorizations

Authorization
string
header
required

API token in the sk_live_… format.

Path Parameters

id
integer
required

Body

application/json
status
enum<string>

Ticket status: open (in progress), pending (waiting in the queue) or closed (finished).

Available options:
open,
pending,
closed
queueId
integer | null

Only tickets in this queue.

Example:

7

userId
integer | null

Assigns the ticket to this agent. Use the user id in this company, the same one GET /users returns. The same person has a different id in each company they work in.

Example:

3

automation
boolean

true sends the conversation to the automation (Flow); false takes it out, back to the queue. With true, don't send userId, wrapupTypeId or wrapupNote, and status can only be pending.

Example:

true

wrapupTypeId
integer

Wrap-up type to record. Only applied together with closing the ticket.

Example:

12

wrapupNote
string

Note recorded with the wrap-up when the ticket is closed.

Example:

"Cliente pediu retorno na segunda."

Response

OK

data
object
Example: