Skip to main content
POST
Approve a pending contact or chat

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Used by ordinary gateway operations; not accepted by Console-only operations. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
contact
string
required

Contact identity or chat route pattern

name
string
required

Instance name

agent
string

Agent to route an approved chat to

Response

Success — body conforms to the @Returns schema.

{key}
any