Skip to main content

List ticket fields

Returns the ticket fields (custom fields) configured in the Inbox settings, in the order the settings show them. Use each field's key in customFields when creating or updating a ticket.

Query Parameters
bot string — REQUIRED

The unique ID of the bot.

Responses
200

Ticket fields returned.

Schema — OPTIONAL
ticket_fields object[] — OPTIONAL
key string — OPTIONAL

The key to send in customFields.

name string — OPTIONAL
description string — OPTIONAL
type string — OPTIONAL

Field type, e.g. shortText, radiobuttons, tags.

order integer — OPTIONAL
externalId string — OPTIONAL
requiredToCreateTicket boolean — OPTIONAL
requiredToCloseTicket boolean — OPTIONAL
requiredToTransferTicket boolean — OPTIONAL
options string[] — OPTIONAL

Choices for tags, radiobuttons and checkboxes; for hierarchicalCustomField each item is a nested option object. null for other types.

count integer — OPTIONAL
400

Missing bot.

Schema — OPTIONAL
error string — OPTIONAL

Human-readable error message.

401

Missing/invalid API key.

Schema — OPTIONAL
error string — OPTIONAL

Human-readable error message.

429

Rate limit exceeded.

Schema — OPTIONAL
error string — OPTIONAL

Human-readable error message.

500

Internal server error.

Schema — OPTIONAL
error string — OPTIONAL

Human-readable error message.