provider Ticket Type Attributes POST /ticket_types/{ticket_type_id}/attributes
@utdk/intercom /ticket_types/{ticket_type_id}/attributes
Create a new attribute for a ticket type
You can create a new attribute for a ticket type.
Intercom-Version header
enum: 1.0, 1.1, 1.2, 1.3…
ticket_type_id path required
The unique identifier for the ticket type which is given by Intercom.
string

Try it

Authentication
Configure credentials for Intercom API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createtickettypeattribute
POST/ticket_types/{ticket_type_id}/attributes
You can create a new attribute for a ticket type.

Parameters

required

The unique identifier for the ticket type which is given by Intercom.

Input

required

The name of the ticket type attribute

required

The description of the attribute presented to the teammate or contact

required

The data type of the attribute

Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.

Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.

Whether the attribute is visible to teammates when creating a ticket in Inbox.

Whether the attribute is visible to contacts when creating a ticket in Messenger.

Whether the attribute allows multiple lines of text (only applicable to string attributes)

A comma delimited list of items for the attribute value (only applicable to list attributes)

Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import intercom from '@utdk/intercom';

await intercom.createtickettypeattribute({
  "Intercom-Version": "2.14",
  "required_to_create": false,
  "required_to_create_for_contacts": false,
  "visible_on_create": true,
  "visible_to_contacts": true
})