Reply to the customer on the conversation's channel as the agent it is with
post/contact-centre/conversations/{id}/reply
Reply to the customer on the conversation's channel as the agent it is with: a mail, a text, a WhatsApp message (a template when the 24-hour window is closed), a requested call back, or a web chat message. Each goes through the channel's own checks, consent and plan allowance, and is refused with the reason and the next step.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
inbox:write- Mcp
rivier_cc_reply- Graphql
Mutation.inboxContactCentreReplyCreate- Sdk
desk.conversations.reply- Cli
desk reply
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- agentIdstring (uuid)required
- textstringWhat to send. For a WhatsApp template the text may be empty: the template is filled in Default: . At most 4000 characters.
- templateIdstringA WhatsApp template, required when the 24-hour window is closed At most 100 characters.
- variablesobjectValues for the template's placeholders, keyed 1, 2 and so on
- purposestringMarketing needs the person's recorded agreement and waits out quiet hours One of: service, marketing.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring