Update a support ticket

Partially update a support ticket: status, priority, owner, AI assistant, tags, pipeline stage or custom fields. Send only the fields you want to change.

Endpoint

PATCH
/support-tickets/:id

Body

Any writable ticket field. The common ones:

NameTypeDescription
statusstringopen, pending, waiting_customer, done or closed.
prioritystringlow, medium, high or urgent.
assigned_user_idinteger | nullHuman owner. The new owner is notified.
assigned_ai_assistant_idinteger | nullAI assistant.
tagsarrayFull list of tags { "id", "name", "color" }.
pipeline_id / pipeline_stage_idinteger | nullTicket pipeline and stage.
custom_fields_by_keyobjectCustom field values by key; null clears a value.
is_unread / unread_countboolean / integerMark read or unread.
next_follow_up_date_timestring (date-time)Schedules the next AI follow-up.

Request

Response

The updated support ticket:

json

Errors

StatusWhen
400 Bad RequestAn unknown field, an invalid enum value, an invalid custom field value, or a pipeline you cannot access.
403 ForbiddenYour API key's role cannot edit this ticket.
404 Not FoundThe ticket does not exist or was deleted.

Report an issue with this documentation

Please log in to report issues with our documentation.