Rivier/ Reference/ inbox

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)required
    In the path

Request bodyapplication/json, required

  • agentIdstring (uuid)required
  • textstring
    What to send. For a WhatsApp template the text may be empty: the template is filled in Default: . At most 4000 characters.
  • templateIdstring
    A WhatsApp template, required when the 24-hour window is closed At most 100 characters.
  • variablesobject
    Values for the template's placeholders, keyed 1, 2 and so on
  • purposestring
    Marketing needs the person's recorded agreement and waits out quiet hours One of: service, marketing.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown