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.10'
{ "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.10' \ -d '{ "name": "Customer Issue", "description": "Customer Report Template", "icon": "🎟️", "category": "Customer" }'
{ "type": "ticket_type", "id": "90", "name": "Customer Issue", "description": "Customer Report Template", "icon": "🎟️", "workspace_id": "this_is_an_id612_that_should_be_at_least_", "archived": false, "created_at": 1717022034, "updated_at": 1717022034, "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.10'
{ "type": "ticket_type", "id": "92", "name": "Bug Report", "description": "Bug Report Template", "icon": "🎟️", "workspace_id": "this_is_an_id616_that_should_be_at_least_", "archived": false, "created_at": 1717022035, "updated_at": 1717022035, "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.10' \ -d '{ "name": "Bug Report 2" }'
{ "type": "ticket_type", "id": "94", "name": "Bug Report 2", "description": "Bug Report Template", "icon": "🎟️", "workspace_id": "this_is_an_id620_that_should_be_at_least_", "archived": false, "created_at": 1717022036, "updated_at": 1717022037, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ … ] }, "category": "Customer" }