Rivier/ Reference/ agents

Agents platform message answer

post/platform-agents/messages/{id}/answer

A business answers, or refuses, a message from a connected platform's agent that is still waiting; the platform hears agents.message.answered. Refused once the connection has ended.

Before you call

Credential
Authorization: Bearer $KEY
Scope
agents:admin
Graphql
Mutation.agentsPlatformMessageAnswer
Sdk
agents.platformMessage.answer
Cli
agents platform message answer

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • textstringrequired
    At most 8000 characters.
  • partslist of object
    Default: [].
    • typestringrequired
      Pattern: ^[a-z][a-z0-9_]{0,47}$.
    • data
  • refuseboolean
    Default: false.

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