Skip to main content
Required scopes: support_messages_send

Arguments

ID
One of the ticket’s threads. Defaults to the thread the customer wrote on most recently, the one supportTicketReply defaults to.
ID!
required
The id of the ticket to draft a reply on.

Returns

A reply the AI wrote for a team member to review (Copilot). It never goes to the customer on its own: send it, edited or not, with supportTicketReply and aiDraftId, or throw it away with supportAiDraftReplyDecline.

Errors

Besides the errors any request can return, this operation fails with these codes in extensions.code.

Example