Tickets
List a type's fields
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the tickets:read ability
Path parameters
typestringrequiredId of the ticket type, starting with tktt_, such as tktt_01jx2m8k4t. Find it with GET /ticket-types.
Response 200
OKdataobject[] | nullrequiredThe items, as a list; empty when there are none.
Show child attributesHide child attributes
ai_autobooleanrequiredTrue when the AI may fill this field in by itself.
ai_hintstring | nullrequiredGuidance telling the AI how to fill this field, up to 500 characters. Null when none is set.
archived_atstring | nullrequiredWhen the field was archived: hidden from new work but kept on old tickets. Null while it is in use.
Format: date-time
currencystring | nullrequiredThree-letter uppercase currency code for a currency field, such as USD. Null when none is set.
data_typestringrequiredThe type of value the field holds: short_text, long_text, number, decimal, currency, boolean, date, single_choice, multiple_choice, file, member or company.
descriptionstringrequiredHelp text explaining the field, up to 300 characters. Empty when none is set.
editable_customerbooleanrequiredTrue when the customer may change this field's value.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
keystringrequiredThe field's key within its type, lowercase letters, digits and underscores, such as order_number. Use it as the key in a ticket's fields object.
labelstringrequiredThe field's name as people see it, 1 to 80 characters.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
optionsstring[] | nullrequiredThe choices of a single_choice or multiple_choice field, as a list of strings. Empty for fields without choices.
positionintegerrequiredThe field's place in its type's field order, lower first.
Format: int32
required_createbooleanrequiredTrue when a teammate must give this field a value to create a ticket.
required_create_customerbooleanrequiredTrue when a customer must give this field a value to create a ticket.
required_resolvebooleanrequiredTrue when the field must have a value before the ticket can be resolved.
show_whenobjectrequiredShow child attributesHide child attributes
equalsstring[] | nullValues of the other field under which this one shows. Left out when any value is enough.
fieldstringrequiredKey of the other ticket field that must have a value for this one to show.
type_idstringrequiredId of the ticket type the field belongs to, such as tktt_.... Send it wherever a ticket type is asked for.
visible_customerbooleanrequiredTrue when the customer sees this field on their ticket.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.