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.9'
{ "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.9' \ -d '{ "name": "Customer Issue", "description": "Customer Report Template", "icon": "🎟️" }'
{ "type": "ticket_type", "id": "58", "name": "Customer Issue", "description": "Customer Report Template", "icon": "🎟️", "workspace_id": "this_is_an_id621_that_should_be_at_least_", "archived": false, "created_at": 1717021658, "updated_at": 1717021658, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ … ] } }
curl -i -X GET \ 'https://api.intercom.io/ticket_types/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Intercom-Version: 2.9'
{ "type": "ticket_type", "id": "60", "name": "Bug Report", "description": "Bug Report Template", "icon": "🎟️", "workspace_id": "this_is_an_id625_that_should_be_at_least_", "archived": false, "created_at": 1717021659, "updated_at": 1717021659, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ … ] } }
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.9' \ -d '{ "name": "Bug Report 2" }'
{ "type": "ticket_type", "id": "62", "name": "Bug Report 2", "description": "Bug Report Template", "icon": "🎟️", "workspace_id": "this_is_an_id629_that_should_be_at_least_", "archived": false, "created_at": 1717021660, "updated_at": 1717021661, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ … ] } }