The intercom API reference.
The intercom API reference.
curl -i -X GET \ https://api.intercom.io/ticket_types \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Intercom-Version: 2.11'
{ "type": "list", "data": [ { … } ] }
You can create a new ticket type.
📘 Creating ticket types.
Every ticket type will be created with two default attributes: default_title and default_description. For the
icon
propery, use an emoji from Twemoji Cheatsheet
curl -i -X POST \ https://api.intercom.io/ticket_types \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -H 'Intercom-Version: 2.11' \ -d '{ "name": "Customer Issue", "description": "Customer Report Template", "icon": "🎟️", "category": "Customer" }'
{ "type": "ticket_type", "id": "88", "name": "Customer Issue", "description": "Customer Report Template", "icon": "🎟️", "workspace_id": "this_is_an_id612_that_should_be_at_least_", "archived": false, "created_at": 1719493016, "updated_at": 1719493016, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ … ] }, "category": "Customer" }
curl -i -X GET \ 'https://api.intercom.io/ticket_types/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Intercom-Version: 2.11'
{ "type": "ticket_type", "id": "90", "name": "Bug Report", "description": "Bug Report Template", "icon": "🎟️", "workspace_id": "this_is_an_id616_that_should_be_at_least_", "archived": false, "created_at": 1719493017, "updated_at": 1719493017, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ … ] }, "category": "Customer" }
You can update a ticket type.
📘 Updating a ticket type.
For the
icon
propery, use an emoji from Twemoji Cheatsheet
curl -i -X PUT \ 'https://api.intercom.io/ticket_types/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -H 'Intercom-Version: 2.11' \ -d '{ "name": "Bug Report 2" }'
{ "type": "ticket_type", "id": "92", "name": "Bug Report 2", "description": "Bug Report Template", "icon": "🎟️", "workspace_id": "this_is_an_id620_that_should_be_at_least_", "archived": false, "created_at": 1719493018, "updated_at": 1719493018, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ … ] }, "category": "Customer" }