Skip to main content

Retrieve a ticket field

Returns one ticket field by its key, in the same shape as List ticket fields.

Path Parameters
key string — REQUIRED

The ticket field key, e.g. r1.

Query Parameters
bot string — REQUIRED

The unique ID of the bot.

Responses
200

Ticket field returned.

Schema — OPTIONAL
ticket_field 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.

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.

404

No ticket field with this 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.