Skip to main content
Threads can be assigned to users or machine users. The latter is useful if you want a bot to handle or are building a complex automation of some kind.
For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.

Assigning a thread

To assign threads you need an API key with the following permissions:
  • thread:assign
  • thread:read
Mutation
Variables

Unassigning threads

To unassign threads you need an API key with the following permissions:
  • thread:unassign
  • thread:read
Mutation
Variables

Additional assignees

In addition to the primary assignee, threads can have additional assignees. Users who are also looped in on the thread but who aren’t the main person responsible for it. This is useful for collaborative cases or when escalating to a specialist. You can add or remove either users or machine users in a single call.

Add additional assignees

Mutation
Variables

Remove additional assignees

Mutation
Variables