Skip to content

Support

support_thread_create

Open a support thread on behalf of an external end user.

Tool

support_thread_create

Open a support thread on behalf of an external end user.

Open a support thread on behalf of an external end user. The author is an opaque identifier from the client's own user base and is stored verbatim. The thread opens on the product's default open status; there is no status argument. An optional rating — an integer 0..10, both ends inclusive — may travel with it and is stored verbatim too; omit it for an unrated thread, because 0 is a real score at the bottom of the scale

Behavior

HTTP
POST /support/threads

Arguments

NameTypeRequiredDescription
typestringticket: the end user wants something fixed. feedback: unsolicited input
titlestringShort human-readable subject of the thread
ratingintegerOptional score the client attached when the thread was opened: an integer 0..10, both ends inclusive, stored verbatim and never recomputed. Omit it for an unrated thread — 0 is a real score at the bottom of the scale, not a way of saying "no rating"
labelIdsarrayLabels to put on the new thread
metadataobjectFree-form client-owned JSON attached to the thread
authorDisplaystringOptional display name for the external author, as the client already knows it
authorExternalIdstringOpaque identifier of the external end user in the client's own user base. Stored verbatim: never resolved, normalised or enriched, and it is not a Lessly identity

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

Open a support thread on behalf of an external end user.

When to use

Open a support thread on behalf of an external end user. The author is an opaque identifier from the client's own user base and is stored verbatim. The thread opens on the product's default open status; there is no status argument. An optional rating — an integer 0..10, both ends inclusive — may travel with it and is stored verbatim too; omit it for an unrated thread, because 0 is a real score at the bottom of the scale

Example

Ask your agent something like this:

Open a support thread on behalf of an external end user.

The agent will invoke support_thread_create with these arguments:

{
  "type": "<type>",
  "title": "<title>",
  "authorExternalId": "<authorExternalId>"
}

Esc

Start typing to search the docs.

navigateselect