Ticket

Create a new ticket with an optional initial message

Changed on

Create a new ticket and optionally post an initial message in a single request. Provide either a session (contact ID) or email to associate the ticket with a contact. If an email is provided and no contact exists, one will be created automatically.

post/tickets/compose

Request

  • Base URL
    https://api.gleap.io/v3
  • URL
    https://api.gleap.io/v3/tickets/compose
  • Auth
    HTTP bearer

Headers

projectstring required

Request body

typestring required
titlestring required
messagestring
prioritystring

Priority key of the ticket's board: LOW, MEDIUM, HIGH or a custom key; the priority's title is also accepted. Each board's priorities are listed by GET /projects/ticket-types.

statusstring
processingUserstring
processingTeamstring
tagsstring[]
sessionstring
emailstring
formDataunknown
preventAutoReplyboolean
pipelineEntrystring[]

CRM pipeline entries to link this ticket to (see CreateTicketDto). The pipeline create-ticket automation passes the entry that triggered it.

Response

Ok

unknown required

Changes