Tickets
Enqueue create ticket
Enqueues ticket creation for asynchronous processing, returning if the job was enqueued successfully to be processed. We attempt to perform a best-effort validation on inputs before tasks are enqueued. If the given parameters are incorrect, we won't enqueue the job.
post/tickets/enqueue
Headers
Intercom-Version'1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | '2.12' | '2.13' | '2.14'
Intercom API version.</br>By default, it's equal to the version set in the app package.
Example:2.14
Request body
Example request
{
"ticket_type_id": "1234",
"contacts": [
{
"id": "1234"
}
],
"conversation_to_link_id": "1234",
"company_id": "5f4d3c1c-7b1b-4d7d-a97e-6095715c6632",
"created_at": 1590000000,
"ticket_attributes": {
"_default_title_": "Found a bug",
"_default_description_": "The button is not working"
},
"assignment": {
"admin_assignee_id": "123",
"team_assignee_id": "8"
}
}Response
Successful response
Example response
{
"url": "https://api.intercom.io/jobs/status/20",
"resource_type": "ticket",
"resource_url": "http://api.intercom.io/tickets/123"
}