> ## 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.

# supportTicketEmailForward

> Forward an email on a ticket, as Forward in the help desk composer does: to `to`, `cc` and `bcc` only, never the customer unless one of them names them. The email's provider sends it as a forward: a "Fwd:" subject, the forwarded email quoted under `body`, the files of every email on its thread attached again (never a note's), and the source thread's references. It goes through the same send as supportTicketReply, so it has a reply's effects on the ticket (status, assignment, rules), as the help desk's forward does, and returns the send as a SupportReply. Returns null if the store has no such ticket. Throws BAD_USER_INPUT for an empty or too-long body, both or neither of body and bodyHtml, bodyHtml holding what the composer can't write, no address in `to`, `cc` and `bcc` that isn't one of the store's inboxes, a `to` that holds one, a sendAt that isn't 1 minute to 30 days from now, on an email, SMS, Facebook or Instagram thread, or a `messageId` that is a note or malformed. Throws NOT_FOUND for a `messageId` that isn't an email on the ticket. It mails the ticket's email to the addresses named, so it needs support_tickets_read as well as support_messages_send (INSUFFICIENT_SCOPE otherwise, and nothing is sent). Throws SEND_BLOCKED when the inbox can't send right now, ACTION_REJECTED when the thread now belongs to another ticket or already holds a send scheduled, IDEMPOTENCY_KEY_REUSED or IDEMPOTENCY_IN_PROGRESS as idempotencyKey describes, INVALID_UPLOAD, ATTACHMENTS_NOT_SUPPORTED or ATTACHMENTS_TOO_LARGE for attachments it can't send, and TRY_AGAIN (503) when the forward couldn't be started: retry it.

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

## Arguments

**input** `[SupportTicketEmailForwardInput!](/docs/api-reference/v3/reference/support/support-ticket-email-forward-input)` *required*

The email and who to forward it to.

**fields**

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

Files to send, each uploaded with `supportAttachmentUploadCreate`; at most 10 per message, an API limit (the composer has none). Email providers cap the whole message (10 MB custom email, 20 MB Outlook, 25 MB Gmail), which ATTACHMENTS\_TOO\_LARGE reports. Replies on Instagram DM, Instagram comments, TikTok take none, and on Facebook, Facebook comments one image, as the composer offers (ATTACHMENTS\_NOT\_SUPPORTED). An upload that is missing, expired, already sent or not the declared type is INVALID\_UPLOAD. They go with the files the forward attaches again.

**fields**

**contentType** `String!` *required*

The file's MIME type, such as application/pdf or image/png. A PNG, JPEG, GIF or PDF must be declared as what it is.

**filename** `String!` *required*

The file's name as the customer sees it, 1 to 255 characters, with no control characters.

**uploadId** `String!` *required*

The uploadId `supportAttachmentUploadCreate` returned.

**bcc** `[String!]`

Addresses to blind copy. At most 20 across `to`, `cc` and `bcc`. Each address is copied once, ignoring case and in lower case. The store's own inboxes are left off.

**body** `String`

The note above the forwarded email, in plain text: 1 to 10,000 characters, and not only whitespace. Line breaks are kept. Pass this or bodyHtml.

**bodyHtml** `String`

The body as HTML, in place of `body`, as the help desk composer writes it: at most 100,000 characters. It may use only what the composer's editor writes: the elements \<p>, \<div>, \<span>, \<br>, \<hr>, \<strong>, \<b>, \<em>, \<i>, \<u>, \<s>, \<sub>, \<sup>, \<small>, \<blockquote>, \<pre>, \<h1>, \<h2>, \<h3>, \<h4>, \<h5>, \<h6>, \<ul>, \<ol>, \<li>, \<a>, \<img>, \<table>, \<thead>, \<tbody>, \<tr>, \<td>, \<th>; the attributes class, style, title on any element; href, target, rel, data-link-id on \<a>; src, alt, width, height on \<img>; data-list on \<li>; data-variable on \<span>; colspan, rowspan on \<td>; colspan, rowspan on \<th>; URLs using http, https, mailto, tel (http, https on \<img>), absolute only; the CSS properties background-color, border, border-bottom, border-collapse, border-left, border-right, border-top, color, font-family, font-size, font-style, font-weight, height, line-height, margin, margin-bottom, margin-left, margin-right, margin-top, max-height, max-width, padding, padding-bottom, padding-left, padding-right, padding-top, text-align, text-decoration, vertical-align, width, with no url() or other function that loads or runs anything; classes matching ^ql-\[\w-]+\$. Anything else is refused with BAD\_USER\_INPUT naming it; HTML comments, a doctype and empty attributes are removed. The plain text is derived from the HTML and must fit body's limit. The signature and the forwarded email are added after it.

**cc** `[String!]`

Addresses to copy. At most 20 across `to`, `cc` and `bcc`. Each address is copied once, ignoring case and in lower case. The store's own inboxes are left off.

**idempotencyKey** `String`

A key you choose, up to 100 characters, that makes a retry safe. For 24 hours, repeating the request with the same key returns the first result and writes nothing; the record that result names is null if it has since been deleted or hidden. The same key with a different request throws IDEMPOTENCY\_KEY\_REUSED (422): repeat the first request exactly, or use a new key. While the first request is still running, a repeat throws IDEMPOTENCY\_IN\_PROGRESS (409): retry with the same key in a moment. A request that fails without writing frees its key, so a retry runs it again. Each mutation has its own keys.

**messageId** `ID!` *required*

The email to forward: an email (not a note) on one of this ticket's email threads, or of a ticket merged into it. The forward goes on that email's thread. Otherwise NOT\_FOUND, or BAD\_USER\_INPUT for a note or a malformed id.

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

Schedule the forward for this time instead of sending it now, as supportTicketReply's sendAt does: 1 minute to 30 days from now, on an email, SMS, Facebook or Instagram thread. Omitted: sent now.

**signature** `Boolean`

Append the store's team member email signature after the body, as supportTicketReply's `email.signature` does. Defaults to false.

**to** `[String!]`

Who the forward goes to: 1 to 20 addresses, at most 20 with `cc` and `bcc`, each once, ignoring case and in lower case. None can be one of the store's own inboxes (BAD\_USER\_INPUT). Omitted: only `cc` and `bcc`.

**ticketId** `ID!` *required*

The id of the ticket the email is on.

## Returns

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

A reply on its way to the customer, and what happened to it.

**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)

**fields**

**comment** `String`

What the team said about the response. Null when they left none.

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

When the message was last rated.

**rating** `[MessageAiFeedbackRating!](/docs/api-reference/v3/reference/support/message-ai-feedback-rating)` *required*

Whether the response was good or bad.

**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)

**fields**

**steps** `[\[SupportAiLookupStep!\]!](/docs/api-reference/v3/reference/support/support-ai-lookup-step)` *required*

Each lookup, oldest first: at most the 200 newest before the message.

**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)

**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.

**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)

**fields**

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

When the customer record was created.

**customFields** `[JSON](/docs/api-reference/v3/reference/common/json)`

Merchant-defined custom field values, keyed by each field's name. Null when the customer has no custom fields set.

**email** `String`

The customer's primary email address.

**events** `[CustomerEventConnection](/docs/api-reference/v3/pagination)`

What this shopper did, newest first: the events the help desk's ticket timeline shows for them, of every type unless `types` narrows it. Each read costs 10 points plus the page size; each `events` field in a query reserves 10 reads, and the request is refunded the ones it didn't make. A request can make at most 10 such reads, across `events` and `lastKnownCart`, and past that this field errors with TOO\_MANY\_CUSTOMER\_EVENT\_READS. One customer read again with the same arguments is read once.

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

**fields**

**Arguments**

**after** `String`

Read events older than this cursor, from `pageInfo.endCursor`.

**before** `String`

Read events newer than this cursor, from `pageInfo.startCursor`.

**first** `Int`

Page size reading older events (default 25, max 100).

**last** `Int`

Page size reading newer events (default 25, max 100).

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

Only events at or after this instant.

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

Only events before this instant.

**types** `[\[CustomerEventType!\]](/docs/api-reference/v3/reference/events/customer-event-type)`

Only events of these types. Omitted: every type, as the help desk's ticket timeline shows them. An empty list fails with INVALID\_FILTER.

**firstName** `String`

The customer's first name.

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

The id of this customer.

**lastKnownCart** `[CustomerCart](/docs/api-reference/v3/reference/events/customer-cart)`

The shopper's last known cart, the one the help desk ticket sidebar shows: the newest of their 20 latest add-to-cart and remove-from-cart events that carries the whole cart, without Redo's own products (`changedAt` says when). A cart the shopper has since checked out stays their last known cart. Null when that cart is empty or holds only Redo products, or none of those events carries a whole cart. Each read costs 10 points; each `lastKnownCart` field in a query reserves 10 reads, and the request is refunded the ones it didn't make. A request can make at most 10 reads of customers' events, across `events` and `lastKnownCart`, and past that this field errors with TOO\_MANY\_CUSTOMER\_EVENT\_READS.

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

**lastName** `String`

The customer's last name.

**legacyId** `String!` *required*

The customer's legacy identifier (the source Mongo ObjectId), accepted anywhere an `id` is.

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

The customer's current location, if known.

**phoneNumber** `String`

The customer's primary phone number.

**subscriptionCharges** `[CustomerSubscriptionCharges](/docs/api-reference/v3/reference/customers/customer-subscription-charges)`

What the customer has paid on their subscriptions in the store's subscription provider (Recharge), found by their email, as the help desk ticket sidebar's total spent and total charges show it. Nothing paid when the customer has no email or the store has no Recharge integration. Unlike the sidebar, which shows them only beside a subscription, these are read for any customer Recharge knows, with or without a subscription. Null, with an error, when Recharge can't be read for this customer. Counts toward the same 10 customers a request as `subscriptions`; past that the field is null with BAD\_USER\_INPUT. Each customer costs 10 points.

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

**subscriptions** `[\[CustomerSubscription!\]](/docs/api-reference/v3/reference/customers/customer-subscription)`

The customer's subscriptions in the store's subscription provider (Recharge), found by their email, as the help desk ticket sidebar lists them: active first, then expired, then canceled. Empty when the customer has no email or the store has no Recharge integration. Null, with an error, when Recharge can't be read for this customer; the sidebar shows none then. A request reads them for at most 10 customers, as each costs Recharge calls the store's sidebar and customer portal share; past that the field is null with BAD\_USER\_INPUT. Each customer costs 10 points.

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

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

The help desk tickets this customer is the primary contact on any thread of, newest first. Every ticket whose `customer` is this customer is here.

**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`.

**suppressions** `[\[CustomerSuppression!\]!](/docs/api-reference/v3/reference/customers/customer-suppression)` *required*

Active team and global marketing suppressions on this customer's email addresses and phone numbers.

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

The tags on this customer, from the store's customer tag catalog, A–Z by name.

**Requires:** [`customers_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-customers_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`.

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

When the customer record was last updated.

**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)

**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)

**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)

**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`.

**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`.

**Fields**

**edges** `[\[MessageEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[Message!\]!](/docs/api-reference/v3/reference/support/message)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**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`.

**Fields**

**edges** `[\[SupportAiDraftReplyEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[SupportAiDraftReply!\]!](/docs/api-reference/v3/reference/support/support-ai-draft-reply)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**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)

**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)

**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)

**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.

**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.

**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.

**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.

**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.

**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.

**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)

**fields**

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

When the customer record was created.

**customFields** `[JSON](/docs/api-reference/v3/reference/common/json)`

Merchant-defined custom field values, keyed by each field's name. Null when the customer has no custom fields set.

**email** `String`

The customer's primary email address.

**events** `[CustomerEventConnection](/docs/api-reference/v3/pagination)`

What this shopper did, newest first: the events the help desk's ticket timeline shows for them, of every type unless `types` narrows it. Each read costs 10 points plus the page size; each `events` field in a query reserves 10 reads, and the request is refunded the ones it didn't make. A request can make at most 10 such reads, across `events` and `lastKnownCart`, and past that this field errors with TOO\_MANY\_CUSTOMER\_EVENT\_READS. One customer read again with the same arguments is read once.

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

**fields**

**Arguments**

**after** `String`

Read events older than this cursor, from `pageInfo.endCursor`.

**before** `String`

Read events newer than this cursor, from `pageInfo.startCursor`.

**first** `Int`

Page size reading older events (default 25, max 100).

**last** `Int`

Page size reading newer events (default 25, max 100).

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

Only events at or after this instant.

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

Only events before this instant.

**types** `[\[CustomerEventType!\]](/docs/api-reference/v3/reference/events/customer-event-type)`

Only events of these types. Omitted: every type, as the help desk's ticket timeline shows them. An empty list fails with INVALID\_FILTER.

**firstName** `String`

The customer's first name.

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

The id of this customer.

**lastKnownCart** `[CustomerCart](/docs/api-reference/v3/reference/events/customer-cart)`

The shopper's last known cart, the one the help desk ticket sidebar shows: the newest of their 20 latest add-to-cart and remove-from-cart events that carries the whole cart, without Redo's own products (`changedAt` says when). A cart the shopper has since checked out stays their last known cart. Null when that cart is empty or holds only Redo products, or none of those events carries a whole cart. Each read costs 10 points; each `lastKnownCart` field in a query reserves 10 reads, and the request is refunded the ones it didn't make. A request can make at most 10 reads of customers' events, across `events` and `lastKnownCart`, and past that this field errors with TOO\_MANY\_CUSTOMER\_EVENT\_READS.

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

**lastName** `String`

The customer's last name.

**legacyId** `String!` *required*

The customer's legacy identifier (the source Mongo ObjectId), accepted anywhere an `id` is.

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

The customer's current location, if known.

**phoneNumber** `String`

The customer's primary phone number.

**subscriptionCharges** `[CustomerSubscriptionCharges](/docs/api-reference/v3/reference/customers/customer-subscription-charges)`

What the customer has paid on their subscriptions in the store's subscription provider (Recharge), found by their email, as the help desk ticket sidebar's total spent and total charges show it. Nothing paid when the customer has no email or the store has no Recharge integration. Unlike the sidebar, which shows them only beside a subscription, these are read for any customer Recharge knows, with or without a subscription. Null, with an error, when Recharge can't be read for this customer. Counts toward the same 10 customers a request as `subscriptions`; past that the field is null with BAD\_USER\_INPUT. Each customer costs 10 points.

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

**subscriptions** `[\[CustomerSubscription!\]](/docs/api-reference/v3/reference/customers/customer-subscription)`

The customer's subscriptions in the store's subscription provider (Recharge), found by their email, as the help desk ticket sidebar lists them: active first, then expired, then canceled. Empty when the customer has no email or the store has no Recharge integration. Null, with an error, when Recharge can't be read for this customer; the sidebar shows none then. A request reads them for at most 10 customers, as each costs Recharge calls the store's sidebar and customer portal share; past that the field is null with BAD\_USER\_INPUT. Each customer costs 10 points.

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

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

The help desk tickets this customer is the primary contact on any thread of, newest first. Every ticket whose `customer` is this customer is here.

**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`.

**suppressions** `[\[CustomerSuppression!\]!](/docs/api-reference/v3/reference/customers/customer-suppression)` *required*

Active team and global marketing suppressions on this customer's email addresses and phone numbers.

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

The tags on this customer, from the store's customer tag catalog, A–Z by name.

**Requires:** [`customers_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-customers_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`.

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

When the customer record was last updated.

**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)

**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)

**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`.

**Fields**

**edges** `[\[SupportTicketEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[SupportTicket!\]!](/docs/api-reference/v3/reference/support/support-ticket)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**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`.

**Fields**

**edges** `[\[MessageEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[Message!\]!](/docs/api-reference/v3/reference/support/message)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**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.

**Fields**

**edges** `[\[SupportReplyEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[SupportReply!\]!](/docs/api-reference/v3/reference/support/support-reply)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**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`.

**Fields**

**edges** `[\[SupportTagEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[SupportTag!\]!](/docs/api-reference/v3/reference/support/support-tag)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**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`.

**Fields**

**edges** `[\[MessageThreadEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

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

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**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`.

**Fields**

**edges** `[\[SupportTicketEventEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[SupportTicketEvent!\]!](/docs/api-reference/v3/reference/support/support-ticket-event)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**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)

**fields**

**description** `String!` *required*

What the topic covers. The classifier matches tickets against the name and this text.

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

The id of this topic.

**name** `String!` *required*

Topic name, unique within the store.

**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)

**fields**

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

Who is viewing.

**typing** `Boolean!` *required*

Whether they are writing in the ticket's composer now, as the help desk's typing indicator shows. Typing also counts as viewing.

## 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. |
| `NOT_FOUND` | `404` | An id the request refers to, other than its target, doesn't exist in the store. A missing target returns null instead. | Use an id that exists in the store. |
| `IDEMPOTENCY_IN_PROGRESS` | `409` | A request with the same idempotencyKey is still in progress, or its outcome isn't known yet. Its write, such as an email to the customer, may already exist. | Wait a few seconds and send it again with the same key, which returns that request's result once it settles. Don't resend it with a new key or without one: it may write twice. |
| `IDEMPOTENCY_KEY_REUSED` | `422` | The idempotencyKey was already used for a different request. Nothing was written. | Send the new request with a new idempotencyKey, or resend the first request unchanged to get its result. |
| `INSUFFICIENT_SCOPE` | `403` | The token lacks a scope the request needs: for a field, or for a part of the write the service decides from the record, such as a macro's internal note. The message names the scope. Nothing was written. | Use a token with the scope the message names, or leave out the part that needs it. |
| `SEND_BLOCKED` | `409` | The ticket's channel can't send right now, such as a thread no connected account answers. The message says why. Nothing was sent. | Fix what the message names, such as reconnecting the account, then send it again. |
| `INVALID_UPLOAD` | `400` | An uploadId has no file: it was never uploaded, expired, or was already used. Or the file isn't the one described, such as a PDF declared as an image. Nothing was sent. | Start a new upload, PUT the file, and send again with its uploadId and the file's real content type. |
| `ATTACHMENTS_NOT_SUPPORTED` | `422` | The thread's channel can't carry the attachments, as in the help desk composer: Instagram and TikTok replies take no files, and Facebook replies take one image. Nothing was sent. | Send without the attachments, or reply on another thread. |
| `ATTACHMENTS_TOO_LARGE` | `422` | The attachments and body together are larger than the email provider accepts, as the composer refuses them. The message names the limit. Nothing was sent. | Send fewer or smaller files. |
| `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 {
  supportTicketEmailForward(input: { ... }, ticketId: "...") {
    createdAt
    dismissedAt
    failureReason
    id
    sendAt
    status
  }
}
```


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