Skip to main content
Required scopes: support_tickets_write

Arguments

String
What to write or change, such as apologize for the delay and offer a refund: at most 10,000 characters.
String
Reply text to improve, or to apply instruction to: at most 10,000 characters.
ID
One of the ticket’s threads, whose messages the AI reads. Defaults to the thread the customer wrote on most recently, the one supportTicketReply defaults to.
ID!
required
The id of the ticket the reply is for.

Returns

Reply text the AI wrote for a ticket. Nothing is stored or sent: pass body, edited or not, to supportTicketReply.

Errors

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

Example