انتقل إلى المحتوى الرئيسي

Open a ticket

POST 

/v1/agents/:agentId/tickets

x-scope: "tickets:write"

Opens a ticket in the agent's starting status (new unless your team chose another), with the next number for the agent (number, from 1001) and source: api. Say who it is about with at most one of conversation_id, lead_id and contact_id: from a conversation the ticket takes its newest lead, its contact and its assignee; from a lead, its contact, conversation and assignee; a contact alone links just the contact. Sent with none of them, the ticket is about no one in particular. To assign it to someone else afterwards, use assignTicket.

Request​

Responses​

The ticket.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.