Skip to main content
POST
Open ticket

Authorizations

Authorization
string
header
required

API token in the sk_live_… format.

Headers

Idempotency-Key
string

Unique key for the operation. If you repeat the call with the same key and the same body, you get the stored response.

Maximum string length: 200

Body

application/json
contactId
integer
required

Contact this record belongs to.

Example:

1042

status
enum<string>
default:open

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

Available options:
open,
pending,
closed
queueId
integer

Service queue.

Example:

7

userId
integer

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

channelId
integer

Channel where the conversation takes place. See the available channels at GET /channels.

Example:

4

Response

Created

data
object
Example: