Rivier/ Reference/ inbox

A person approves or declines a hand-off to an AI agent

post/contact-centre/conversations/{id}/handoff/decision

A person approves or declines a hand-off to an AI agent. An agent's own approval is refused.

Before you call

Credential
Authorization: Bearer $KEY
Scope
inbox:write
Graphql
Mutation.inboxContactCentreHandoffDecisionCreate
Sdk
desk.conversations.decideHandoff
Cli
desk handoff-decide

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • approvebooleanrequired

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