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

# supportComposerDraftSend

> Send your composer draft, the draft itself, through the help desk composer's own Send: its body, files, recipients, mode, the email it answers and its Apple Messages element, on its thread. The macro the draft holds (saved with macroId, or inserted in the help desk) applies its ticket changes once the message is out; a part your help desk permissions don't cover is left out (`pendingMacro.skip`) and the message still goes. A send that fails changes nothing on the ticket and leaves the macro on the draft. A draft saved in the Note tab (`internalNote`) goes on the ticket as an internal note, never to the customer. The draft stays in SupportTicket.composerDrafts as SCHEDULED until it has gone, and nothing saves over it meanwhile; then it leaves the list and its message is on the ticket; supportSendCancel takes it back until its provider has it, and a send that fails leaves it FAILED with its `sendError`, files included. A draft canceled or failed holds what was being sent, the signature and quoted email included, and sending it again adds neither twice; saving it starts over, so leave them out of the bodyHtml you save. Returns the draft. Returns null if the store has no such ticket. Throws SUPPORT_DRAFT_REVISION_STALE (409) for a draft saved, sent or discarded since `revision`, or a teammate's. Throws ACTION_REJECTED, and sends nothing, for a draft that is already SCHEDULED or SENDING; whose `internalNote` is null, since it could be a note; that holds the help desk editor's working copy (`bodyHtml` null on an email thread, or a `body` the help desk autosaved), which only the help desk can turn into the message without losing its formatting, links and images; that forwards an email (forward with supportTicketEmailForward); whose thread now belongs to another ticket; that is empty; that is an email with no one in To, which the send never guesses; or whose Apple Messages element can't be read. Throws ATTACHMENTS_NOT_SUPPORTED for files its channel can't carry, BAD_USER_INPUT for recipients the send refuses, or a sendAt that isn't 1 minute to 30 days from now, on an email, SMS, Facebook or Instagram thread. Throws SEND_BLOCKED when the channel can't send right now, RICH_CONTENT_NOT_SUPPORTED for an element the customer's device can't show, TEAM_MEMBER_REQUIRED for a credential acting for no team member, and TRY_AGAIN (503) when the send couldn't be started: the draft is still in the composer, so read it again and retry.

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

## Arguments

**input** `[SupportComposerDraftSendInput!](/docs/api-reference/v3/reference/support/support-composer-draft-send-input)` *required*

The draft and how to send it.

**fields**

**quoteThread** `Boolean`

On an email reply, quote the email the draft answers under it, as the help desk composer's Send does, and as supportTicketReply's `email.quoteThread` describes. Defaults to true. False on a draft that isn't an email reply is BAD\_USER\_INPUT.

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

The draft's `revision` from SupportTicket.composerDrafts, so a draft saved or sent since you read it isn't sent.

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

Schedule the send for this time, as the help desk's scheduled send does: 1 minute to 30 days from now, on an email, SMS, Facebook or Instagram thread. The draft reads as SCHEDULED until then. Omitted: it goes out after the help desk's undo window of a few seconds, SCHEDULED for its end.

**signature** `Boolean`

On an email reply, append the team member's email signature (their own while they use it, else the store's team member signature) after the draft's body, as the help desk composer's Send does, and as supportTicketReply's `email.signature` describes. Defaults to false. True on a draft that isn't an email reply is BAD\_USER\_INPUT.

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

The id of the ticket.

## Returns

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

An unsent reply in the help desk composer on one of a ticket's threads, as the composer autosaves it. A thread has one per email it answers (one on a thread that isn't email), and every teammate sees it, as in the help desk. Only its sender can replace or discard it through the API. The help desk's autosave doesn't check a revision: a composer left open on the thread can save over a draft the API saved, and becomes its sender. Read composerDrafts again before you save over a draft.

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

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

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

**fields**

**phoneNumber** `String`

The number their answered calls are forwarded to, in E.164. Null when forwarding is off.

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

**fields**

**enabled** `Boolean!` *required*

Whether their email replies use it instead of the store's team member signature (`SupportSettings.email.teamMemberSignatureHtml`). With no signature saved, they use the store's.

**html** `String`

The signature as HTML, as the help desk composer appends it, with plain image URLs. Null when none is saved.

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

**fields**

**playSoundOnDesktop** `Boolean!` *required*

Whether a browser notification plays a sound.

**preferences** `[\[SupportNotificationPreference!\]!](/docs/api-reference/v3/reference/support/support-notification-preference)` *required*

One entry for every platform and event, including ones the team member never changed, which read as their defaults.

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

**fields**

**manualOverride** `[SupportShiftOverride](/docs/api-reference/v3/reference/support/support-shift-override)`

The agent's manual on/off toggle. Null when they follow their schedule.

**nextChange** `[SupportShiftChange!](/docs/api-reference/v3/reference/support/support-shift-change)` *required*

The next time the schedule alone flips onShift. Ignores any manual override. Always in the future, or the next local midnight when nothing changes within 14 days.

**onShift** `Boolean!` *required*

True when auto-assignment can give the agent tickets now.

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

Which layer decided onShift.

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

**fields**

**assignableChannels** `[\[SupportChannel!\]](/docs/api-reference/v3/reference/support/support-channel)`

Channels the agent takes auto-assigned tickets on. Null means every channel.

**dateOverrides** `[\[SupportWorkScheduleDateOverride!\]!](/docs/api-reference/v3/reference/support/support-work-schedule-date-override)` *required*

Dates whose hours replace that day's weekly hours, earliest first.

**enabled** `Boolean!` *required*

Whether the schedule is on. When false, the agent counts as on shift at all times.

**timeZone** `String!` *required*

IANA time zone the hours are in, such as America/New\_York. The store's time zone when the agent has never saved a schedule.

**weeklyHours** `[\[SupportWorkScheduleDay!\]!](/docs/api-reference/v3/reference/support/support-work-schedule-day)` *required*

Recurring hours. Always seven entries, Monday through Sunday.

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

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

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

## 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 |
| - | - | - | - |
| `TEAM_MEMBER_REQUIRED` | `403` | The write is a team member's own, such as a composer draft, and the credential acts for no team member, or is a merchant-app session, which can't make this write. Nothing was written. | Call 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. |
| `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. |
| `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. |
| `SUPPORT_DRAFT_REVISION_STALE` | `409` | The composer draft isn't at expectedRevision: it was saved, sent or discarded since, a teammate holds it, or the thread already has a draft for that email. The message says which. Nothing was written. | Read SupportTicket.composerDrafts again, reapply your change, and save with the draft's current revision. A teammate's draft can only be replaced by them. |
| `RICH_CONTENT_NOT_SUPPORTED` | `422` | The rich content can't go on this thread, as the help desk composer offers it only where it can: the thread isn't Apple Messages, the customer's device can't show the element, or the business can't send it (a saved element it doesn't have, or a request it isn't set up for). The message says which. Nothing was sent. | Send without richContent, send an element the message allows, or reply on an Apple Messages thread. |
| `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 {
  supportComposerDraftSend(input: { ... }, ticketId: "...") {
    bcc
    body
    bodyHtml
    cc
    createdAt
    id
    internalNote
    replyType
    # ...
  }
}
```


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