Skip to content

Support

support_thread_update

Edit a thread: its title, its priority, its labels and its client-owned metadata.

Tool

support_thread_update

Edit a thread: its title, its priority, its labels and its client-owned metadata.

Edit a thread: its title, its priority, its labels and its client-owned metadata. Moving a thread between statuses and putting an agent on it have their own tools and are not possible here. labelIds replaces the entire label set — pass an empty array to clear it, and a label belonging to another product is reported as not found

Behavior

HTTP
PATCH /support/threads/:id

Arguments

NameTypeRequiredDescription
idstringThread id
titlestringNew subject of the thread
labelIdsarrayThe complete new label set. Pass an empty array to remove every label
metadataobjectReplaces the whole client-owned metadata object
prioritystringNew priority

Response

FieldTypeAlwaysDescription
idstringThread id
typestringticket: the end user wants something fixed. feedback: unsolicited input
titlestringThread subject
labelsarrayEvery label on the thread, by name
ratingintegerThe score the client supplied at creation, or null while the thread is unrated
statusobjectThe status itself, joined in at read time
metadataobjectFree-form client-owned JSON
prioritystringThread priority
statusIdstringId of the status the thread sits on
createdAtstringISO-8601 creation timestamp
updatedAtstringISO-8601 last-modification timestamp
lastReplyAtstringISO-8601 timestamp of the last reply, or null while there are none
authorDisplaystringDisplay name for the external author, if given
assignedAgentIdstringAssigned agent, or null while unassigned
authorExternalIdstringThe external author, byte-identical to what was stored

Try it

Edit a thread: its title, its priority, its labels and its client-owned metadata.

When to use

Edit a thread: its title, its priority, its labels and its client-owned metadata. Moving a thread between statuses and putting an agent on it have their own tools and are not possible here. labelIds replaces the entire label set — pass an empty array to clear it, and a label belonging to another product is reported as not found

Example

Ask your agent something like this:

Edit a thread: its title, its priority, its labels and its client-owned metadata.

The agent will invoke support_thread_update with these arguments:

{
  "id": "<id>"
}

Esc

Start typing to search the docs.

navigateselect