List Ticket Custom Field Values
gorgias_list_ticket_fieldsRetrieve all custom field values for a ticket. Returns field IDs, labels, and values, enabling precise updates or deletions.
Instructions
GET /api/tickets/{ticket_id}/custom-fields — List all custom field values currently assigned to a specific ticket. Returns {data: [...]} with an array of field-value objects. Each item has 'field' (nested object with 'id', 'label', 'object_type', 'definition'), 'prediction', and 'value'. Use field.id as the identifier for update/delete operations on this ticket's custom field values.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticket_id": "<ticket_id>"
},
"name": "gorgias_list_ticket_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket_id | Yes | The unique ID of the ticket whose custom field values to list |