> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# supportSendCancel

> Cancel a send before its provider has it, as the help desk's Cancel beside it does. A reply from the API (SupportReply) is CANCELED for good; one that FAILED is dismissed instead: its ticket stops showing it, and it stays FAILED with its dismissedAt set. A composer draft's send, a teammate's included, is taken back: the draft is EDITING again, unsent, with its files, for its sender to edit, send or discard. Anyone in the help desk who can reply may cancel anyone's send, so it runs as the caller, an API token or a team member; a teammate's open composer is told. A send already canceled or dismissed, or a draft at that revision that isn't sending, is returned as it is. Returns null if the store has no such reply or draft, or its ticket is hidden from the API. Throws ACTION_REJECTED for a composer draft without expectedRevision or saved, sent or discarded since it, when the provider already has the send or it went out, when a composer draft's send failed (the draft is back in the composer), when its thread left its ticket, or for a reply that hasn't started sending: a keyed reply whose run stopped before its send reads as QUEUED until a retry with its idempotencyKey sends it. Throws TRY_AGAIN (503) when the cancel couldn't finish: retry it.

**Required scopes:** [`support_messages_send`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_messages_send)

## Arguments

**expectedRevision** `String`

Required for a composer draft: its `revision` as the send left it, so a retry never cancels a later send of the same draft. Omitted for a reply, which is sent once.

**id** `ID!` *required*

The id of the reply, or of the composer draft being sent.

## Returns

**supportSendCancel** `[SupportSendCancelResult](/docs/api-reference/v3/reference/support/support-send-cancel-result)`

The send that was canceled: the reply or the composer draft. Neither is set for a composer draft discarded just after its send was canceled.

**fields**

**composerDraft** `[SupportComposerDraft](/docs/api-reference/v3/reference/support/support-composer-draft)`

The composer draft whose send was canceled: EDITING.

**fields**

**attachments** `[\[MessageAttachment!\]!](/docs/api-reference/v3/reference/support/message-attachment)` *required*

The files on the draft, as the composer shows them under it. An email's inline images are listed too.

**fields**

**contentId** `String`

The id an email's HTML uses to show this image, as `cid:` followed by it. Null unless `inline` is true.

**description** `String`

The file's name, as shown in the help desk. Null when none was saved; the help desk then shows it as Attachment.

**id** `ID!` *required*

The id of this attachment.

**inline** `Boolean!` *required*

Whether this is an image an email's HTML shows in its body, referenced as `cid:` followed by `contentId`. False for a regular file.

**mimeType** `String`

The file's MIME type, such as image/png. Null when it wasn't recorded.

**url** `String!` *required*

Download link. A file the store keeps private gets a signed link that works for about one hour after the read; read the message again for a fresh one. Any other file's link doesn't expire.

**bcc** `[String!]!` *required*

Who an email draft blind copies. Empty on other channels.

**body** `String!` *required*

The draft's words as plain text.

**bodyHtml** `String`

The draft's HTML, on an email thread. Null on other channels, and while the draft holds the help desk editor's working copy, which the help desk turns into HTML only when it sends: supportComposerDraftSend refuses such a draft.

**cc** `[String!]!` *required*

Who an email draft copies. Empty on other channels.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the draft was first saved.

**id** `ID!` *required*

The id of this draft. Replies and AI drafts share its id space.

**inReplyTo** `[Message](/docs/api-reference/v3/reference/support/message)`

The customer email the draft answers, on an email thread. Null on other channels, or when the message is hidden from the API.

**fields**

**aiFeedback** `[MessageAiFeedback](/docs/api-reference/v3/reference/support/message-ai-feedback)`

The team's rating of this message. Null unless `authorType` is AI\_AGENT and someone has rated it.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**aiLookups** `[SupportAiLookupTrace](/docs/api-reference/v3/reference/support/support-ai-lookup-trace)`

What the AI looked up (orders, products, knowledge, links) before this message, as the help desk shows it above the message: each lookup on the thread attaches to the first message after it that the customer didn't write. Null when nothing was looked up before it. A request reads its messages 100 at a time, for 10 points each time.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**attachments** `[\[MessageAttachment!\]](/docs/api-reference/v3/reference/support/message-attachment)`

The message's files, oldest first, as the help desk shows them, an email's inline images included. A removed file is left out, and so is one whose link can't be made right now. Empty when the message has none. Null, with an error, when they can't be read. A request reads its messages' files 100 messages at a time, for 10 points each time.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**authorType** `[MessageAuthorType!](/docs/api-reference/v3/reference/support/message-author-type)` *required*

Who wrote the message.

**channel** `[MessageChannel!](/docs/api-reference/v3/reference/support/message-channel)` *required*

The channel the message is on.

**content** `String`

The message as plain text. Null for a message with no text, such as an image.

**customer** `[Customer](/docs/api-reference/v3/reference/customers/customer)`

The customer who wrote it. Null unless `authorType` is CUSTOMER, and null when their record was deleted.

**Requires:** [`customers_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-customers_read)

**id** `ID!` *required*

The id of this message.

**inReplyTo** `[Message](/docs/api-reference/v3/reference/support/message)`

The message this one replies to. Null when it isn't a reply, or that message is hidden.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**sentAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the message was sent or received.

**teamMember** `[TeamMember](/docs/api-reference/v3/reference/common/team-member)`

The team member who wrote it. Null unless `authorType` is TEAM\_MEMBER, and null when they've left the team.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**thread** `[MessageThread](/docs/api-reference/v3/reference/support/message-thread)`

The thread the message is on. Null when the thread is on a channel the API doesn't expose.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**internalNote** `Boolean`

Whether the draft was saved in the composer's Note tab, to go on the ticket as an internal note for the team rather than to the customer. Its thread doesn't say. Null for a draft saved before drafts recorded it, which the API neither sends nor replaces.

**pendingMacro** `[SupportComposerDraftPendingMacro](/docs/api-reference/v3/reference/support/support-composer-draft-pending-macro)`

The macro whose ticket changes wait on the draft, as the composer's chips: its send applies them once the message is out. Null when the draft holds none. Drop it with supportComposerDraftSave's clearPendingMacro.

**fields**

**macroId** `ID!` *required*

The id of the macro. It may have been deleted since; then the send applies nothing.

**skip** `[\[SupportMacroAction!\]!](/docs/api-reference/v3/reference/support/support-macro-action)` *required*

The parts of the macro left out: dismissed in the composer, or left out by a send whose sender may not make them.

**skipTagNames** `[String!]!` *required*

The macro's tags left out by name, as one tag's chip is dismissed.

**replyType** `[SupportEmailReplyType](/docs/api-reference/v3/reference/support/support-email-reply-type)`

An email draft's mode, Reply or Reply all, as the composer's mode buttons set it; it is sent in that mode. Null on other channels, and for a draft that forwards, which only the help desk saves and sends.

**revision** `String!` *required*

Pass this to supportComposerDraftSave as `expectedRevision` to replace the draft, or to supportComposerDraftSend to send it. Opaque: it changes on every save and every send attempt.

**scheduledSendAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When a SCHEDULED draft sends. Null otherwise.

**sendError** `String`

Why a FAILED draft's send failed. Null otherwise.

**sender** `[TeamMember](/docs/api-reference/v3/reference/common/team-member)`

The team member whose draft it is: who saved it last. Null when they are no longer on the team.

**fields**

**email** `String`

Email address. Null when the user has none.

**id** `ID!` *required*

m\_us\_… id, the same id the app and MCP tools use.

**name** `String`

Display name. Null when the user hasn't set one.

**supportCallForwarding** `[TeamMemberSupportCallForwarding](/docs/api-reference/v3/reference/support/team-member-support-call-forwarding)`

The team member's own call forwarding, kept on their user, as the call flow reads it. Only the team member the API acts for sees theirs: null for any other team member, and for an API token, which acts for no one.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**supportEmailSignature** `[TeamMemberSupportEmailSignature!](/docs/api-reference/v3/reference/support/team-member-support-email-signature)` *required*

The team member's own email signature, kept on their user, as the help desk composer reads it.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**supportNotificationPreferences** `[SupportNotificationPreferences](/docs/api-reference/v3/reference/support/support-notification-preferences)`

Which help desk notifications the team member gets: what the help desk's notifier reads for them, with defaults for what they never saved. The same settings as the Notifications tab of their profile. Null when the user can't be read. A request reads its team members 100 at a time, for 10 points each time.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**supportShiftStatus** `[SupportShiftStatus!](/docs/api-reference/v3/reference/support/support-shift-status)` *required*

The agent's live shift status, worked out when the request runs.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**supportWorkSchedule** `[SupportWorkSchedule!](/docs/api-reference/v3/reference/support/support-work-schedule)` *required*

The agent's support working hours. An agent with no saved schedule returns enabled false.

**Requires:** [`team_members_manage`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-team_members_manage)

**status** `[SupportComposerDraftStatus!](/docs/api-reference/v3/reference/support/support-composer-draft-status)` *required*

Whether it is being written, scheduled, sending or failed.

**thread** `[MessageThread](/docs/api-reference/v3/reference/support/message-thread)`

The thread the draft is on. Null when the thread is on a channel the API doesn't expose.

**fields**

**channel** `[MessageChannel!](/docs/api-reference/v3/reference/support/message-channel)` *required*

The channel the thread is on.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the thread started.

**id** `ID!` *required*

The id of this thread.

**messages** `[MessageConnection!](/docs/api-reference/v3/pagination)` *required*

Every message on the thread, oldest first, including internal notes. A thread can span several tickets, so this can hold messages no one ticket has.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns messages after it.

**before** `String`

Backward pagination cursor — returns messages before it.

**first** `Int`

Forward pagination: returns the first N messages (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N messages (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**to** `[String!]!` *required*

Who an email draft goes to. Empty on other channels.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the draft was last saved.

**reply** `[SupportReply](/docs/api-reference/v3/reference/support/support-reply)`

The canceled reply: CANCELED, or still FAILED with its dismissedAt set.

**fields**

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the draft was made: when a reply was accepted, or when the AI wrote an AI draft.

**dismissedAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the failed reply was taken off its ticket, with supportSendCancel or a team member's Cancel on it in the help desk, which then stops showing it. It stays FAILED. Null for a reply that wasn't.

**failureReason** `String`

Why it failed, in words a person can act on. Null unless status is FAILED.

**id** `ID!` *required*

A globally-unique identifier. Treat it as an opaque handle: pass it back to the API (e.g. to `node(id:)`) to refetch this object, but don't parse it or build one yourself — its format is not part of the contract and may change.

**message** `[Message](/docs/api-reference/v3/reference/support/message)`

The message once it's sent. Null until status is SENT.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**aiFeedback** `[MessageAiFeedback](/docs/api-reference/v3/reference/support/message-ai-feedback)`

The team's rating of this message. Null unless `authorType` is AI\_AGENT and someone has rated it.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**aiLookups** `[SupportAiLookupTrace](/docs/api-reference/v3/reference/support/support-ai-lookup-trace)`

What the AI looked up (orders, products, knowledge, links) before this message, as the help desk shows it above the message: each lookup on the thread attaches to the first message after it that the customer didn't write. Null when nothing was looked up before it. A request reads its messages 100 at a time, for 10 points each time.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**attachments** `[\[MessageAttachment!\]](/docs/api-reference/v3/reference/support/message-attachment)`

The message's files, oldest first, as the help desk shows them, an email's inline images included. A removed file is left out, and so is one whose link can't be made right now. Empty when the message has none. Null, with an error, when they can't be read. A request reads its messages' files 100 messages at a time, for 10 points each time.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**authorType** `[MessageAuthorType!](/docs/api-reference/v3/reference/support/message-author-type)` *required*

Who wrote the message.

**channel** `[MessageChannel!](/docs/api-reference/v3/reference/support/message-channel)` *required*

The channel the message is on.

**content** `String`

The message as plain text. Null for a message with no text, such as an image.

**customer** `[Customer](/docs/api-reference/v3/reference/customers/customer)`

The customer who wrote it. Null unless `authorType` is CUSTOMER, and null when their record was deleted.

**Requires:** [`customers_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-customers_read)

**id** `ID!` *required*

The id of this message.

**inReplyTo** `[Message](/docs/api-reference/v3/reference/support/message)`

The message this one replies to. Null when it isn't a reply, or that message is hidden.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**sentAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the message was sent or received.

**teamMember** `[TeamMember](/docs/api-reference/v3/reference/common/team-member)`

The team member who wrote it. Null unless `authorType` is TEAM\_MEMBER, and null when they've left the team.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**thread** `[MessageThread](/docs/api-reference/v3/reference/support/message-thread)`

The thread the message is on. Null when the thread is on a channel the API doesn't expose.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**sendAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the reply was scheduled to send, from supportTicketReply's sendAt. Null for a reply sent at once.

**status** `[SupportReplyStatus!](/docs/api-reference/v3/reference/support/support-reply-status)` *required*

Where the reply is on its way to the customer.

**thread** `[MessageThread](/docs/api-reference/v3/reference/support/message-thread)`

The thread the reply goes on. Null when the thread is on a channel the API doesn't expose.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**channel** `[MessageChannel!](/docs/api-reference/v3/reference/support/message-channel)` *required*

The channel the thread is on.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the thread started.

**id** `ID!` *required*

The id of this thread.

**messages** `[MessageConnection!](/docs/api-reference/v3/pagination)` *required*

Every message on the thread, oldest first, including internal notes. A thread can span several tickets, so this can hold messages no one ticket has.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns messages after it.

**before** `String`

Backward pagination cursor — returns messages before it.

**first** `Int`

Forward pagination: returns the first N messages (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N messages (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**ticket** `[SupportTicket](/docs/api-reference/v3/reference/support/support-ticket)`

The ticket the draft is on. Null when the ticket is hidden from the API.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**aiDraftReplies** `[SupportAiDraftReplyConnection!](/docs/api-reference/v3/pagination)` *required*

The AI drafts waiting for review on the ticket, oldest first: the suggestions the help desk composer shows, at most one per message they answer. Decided drafts leave the list. Drafts of tickets merged into this one stay on those tickets, as their messages do.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns AI drafts after it.

**before** `String`

Backward pagination cursor — returns AI drafts before it.

**first** `Int`

Forward pagination: returns the first N AI drafts (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N AI drafts (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**assignee** `[TeamMember](/docs/api-reference/v3/reference/common/team-member)`

The team member the ticket is assigned to. Null unless `assigneeType` is TEAM\_MEMBER, and null when they've left the team.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**assigneeSummary** `[SupportTicketAssigneeSummary](/docs/api-reference/v3/reference/support/support-ticket-assignee-summary)`

Who handled the ticket, as of when its insights were last written; the dashboard's insights show the same. Null until it has insights.

**assigneeType** `[SupportTicketAssigneeType](/docs/api-reference/v3/reference/support/support-ticket-assignee-type)`

What kind of assignee the ticket has. Null when unassigned.

**channels** `[\[MessageChannel!\]!](/docs/api-reference/v3/reference/support/message-channel)` *required*

Every channel the ticket's threads are on, each once, in no set order. Detached threads are left out, as in `threads`.

**closureReason** `[SupportTicketClosureReason](/docs/api-reference/v3/reference/support/support-ticket-closure-reason)`

Why the ticket was closed. Null unless `status` is CLOSED.

**composerDrafts** `[\[SupportComposerDraft!\]!](/docs/api-reference/v3/reference/support/support-composer-draft)` *required*

The unsent replies in the help desk composer on the ticket's threads, every teammate's, as the composer shows them (one per email a thread answers), including those on threads of tickets merged into it. Like the help desk, which shows drafts to team members who can reply, it needs support\_messages\_send. It costs 10 points per ticket.

**Requires:** [`support_messages_send`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_messages_send)

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the ticket was created.

**customer** `[Customer](/docs/api-reference/v3/reference/customers/customer)`

The customer the ticket is with: the primary contact on its most recently added thread that has one. Detached and deleted threads are left out, as in `threads`. Null when no thread has one.

**Requires:** [`customers_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-customers_read)

**customerSentiment** `[SupportTicketCustomerSentiment](/docs/api-reference/v3/reference/support/support-ticket-customer-sentiment)`

How the customer seems to feel, from the AI's read of the ticket. Null until it has one.

**draftPreview** `String`

The text of the team's most recently edited unsent reply, on any of the ticket's threads. Null when there's no draft.

**id** `ID!` *required*

The id of this ticket.

**lastCustomerMessageAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the customer last wrote. Null if they haven't written yet.

**lastMerchantMessageAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the team, the AI agent or an automation last wrote to the customer. Null if none has.

**lastMessage** `[Message](/docs/api-reference/v3/reference/support/message)`

The ticket's newest message with text, internal notes included. It skips the messages the ticket's `messages` list leaves out. Null when it has none.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**mergedInto** `[SupportTicket](/docs/api-reference/v3/reference/support/support-ticket)`

The ticket this one was merged into. Null unless it was merged, which also closes it as DUPLICATE.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**mergedTickets** `[SupportTicketConnection!](/docs/api-reference/v3/pagination)` *required*

The tickets merged directly into this one, oldest first.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns tickets after it.

**before** `String`

Backward pagination cursor — returns tickets before it.

**first** `Int`

Forward pagination: returns the first N tickets (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N tickets (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**messages** `[MessageConnection!](/docs/api-reference/v3/pagination)` *required*

The ticket's messages, oldest first, internal notes included. Messages of tickets merged into it stay on those tickets. A thread can hold messages from other tickets, which this leaves out; `thread.messages` has them all.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns messages after it.

**before** `String`

Backward pagination cursor — returns messages before it.

**first** `Int`

Forward pagination: returns the first N messages (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N messages (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**priority** `[SupportTicketPriority!](/docs/api-reference/v3/reference/support/support-ticket-priority)` *required*

How urgent the ticket is.

**readAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the team last read the ticket. Null if no one has opened it.

**replies** `[SupportReplyConnection!](/docs/api-reference/v3/pagination)` *required*

Replies sent or scheduled on this ticket through supportTicketReply, oldest first. Lists the API's replies only, not what teammates send or schedule in the help desk. Pass status: \[SCHEDULED] for what is still to go.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns replies after it.

**before** `String`

Backward pagination cursor — returns replies before it.

**first** `Int`

Forward pagination: returns the first N replies (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N replies (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**status** `[\[SupportReplyStatus!\]](/docs/api-reference/v3/reference/support/support-reply-status)`

Only replies with one of these statuses.

**senderBlocked** `Boolean`

Whether the ticket's sender is on the store's blocked-sender list (`SupportBlockedSendersSettings.blockedEmails`), as the help desk shows it, whether or not the rule that archives their email is on. The sender is the customer the help desk uses for the ticket: the primary contact on its most recently linked thread, detached and deleted threads included, so it can differ from `customer`, which leaves those out. Their email is matched ignoring case and surrounding spaces. False when no thread has a primary contact or the contact has no email. Null, with an error, when the customer can't be looked up. A request checks its tickets 100 at a time, for 10 points each time.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**snoozedUntil** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the ticket reopens on its own. Null unless `status` is SNOOZED.

**status** `[SupportTicketStatus!](/docs/api-reference/v3/reference/support/support-ticket-status)` *required*

Where the ticket is in its lifecycle.

**statusUpdatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When `status` last changed.

**summary** `String`

The AI's summary of the ticket. Null until one has been written.

**tags** `[SupportTagConnection!](/docs/api-reference/v3/pagination)` *required*

The tags on the ticket, ordered by name.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns tags after it.

**before** `String`

Backward pagination cursor — returns tags before it.

**first** `Int`

Forward pagination: returns the first N tags (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N tags (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**threads** `[MessageThreadConnection!](/docs/api-reference/v3/pagination)` *required*

The threads the ticket's conversation is on, oldest first.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns threads after it.

**before** `String`

Backward pagination cursor — returns threads before it.

**first** `Int`

Forward pagination: returns the first N threads (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N threads (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**ticketNumber** `Int`

The ticket number the help desk shows, unique within the store. Null for some older tickets.

**timeline** `[SupportTicketEventConnection!](/docs/api-reference/v3/pagination)` *required*

What happened on the ticket, oldest first.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns events after it.

**before** `String`

Backward pagination cursor — returns events before it.

**first** `Int`

Forward pagination: returns the first N events (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N events (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**topics** `[\[SupportTopic!\]!](/docs/api-reference/v3/reference/support/support-topic)` *required*

The store's topics the classifier matched to the ticket, ordered by name. The classifier matches at most 10. It lists the classifier's last result, which the help desk's topic rules also read, so it can lag the newest messages until the ticket is classified again. A topic deleted since is left out, and a ticket the classifier hasn't matched has none. Costs a flat 5 points per ticket plus the topic fields selected, however many topics it has.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

**unread** `Boolean!` *required*

Whether the customer wrote after the team last read the ticket. False when the customer hasn't written.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the ticket last changed.

**viewers** `[\[SupportTicketViewer!\]](/docs/api-reference/v3/reference/support/support-ticket-viewer)`

The team members the help desk shows viewing the ticket now, as the avatars on an open ticket do, so an integration can avoid acting on a ticket a teammate is working. A teammate shows while they have the ticket open in the help desk, including while typing, and usually leaves when they close it or their help desk connection ends; after an outage a viewer can linger until their next connection ends. Those typing come first, then the rest, each in a stable order. Empty when no one is viewing. Null, with an error, when presence can't be read. Tickets read together in one list are read 100 at a time, for 10 points each read; a ticket read on its own, such as each `node` alias, is a read of its own.

**Requires:** [`support_tickets_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_tickets_read)

## Errors

Besides the [errors any request can return](https://developers.redo.com/docs/api-reference/v3/errors.md), this operation fails with these codes in `extensions.code`.

| Code | HTTP status | Meaning | Retry |
| - | - | - | - |
| `API_TOKEN_REQUIRED` | `403` | The credential has neither an API token nor a team member to attribute the change to, such as a first-party service's token, or is a merchant-app session, which can't make this write. Nothing was sent. | Call with a store API token, or with a credential that acts for a team member: the public MCP's, or a merchant-app session's for a write that accepts one. |
| `FORBIDDEN` | `403` | The team member the change is made for doesn't have the permission it needs. Nothing was written. | Ask a store admin to grant the permission, or call with a store API token. |
| `BAD_USER_INPUT` | `400` | An argument is invalid, or names something the store doesn't have. The message says which. Nothing was written. | Fix the input the message names, then send it again. |
| `ACTION_REJECTED` | `422` | The record can't take the action now, or the platform it belongs to refused it. The message says why, in words a merchant can act on. | Act on the message, such as reconnecting the store's account, then send it again. A platform rate limit clears on its own after a few minutes. |
| `TRY_AGAIN` | `503` | The change couldn't start for a passing reason, and nothing was written or sent. | Send the same request again after a short wait, with the same idempotencyKey if it has one. |
| `INTERNAL_SERVER_ERROR` | `500` | Something failed on Redo's side. The change may or may not have been made. | Read the record to see whether the change was made before sending it again. A send with an idempotencyKey is safe to retry with the same key. |

## Example

```graphql theme={null}
mutation {
  supportSendCancel(expectedRevision: "...", id: "...")
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.