Skip to main content
POST
Create a new instance

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. 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
name
string
required

Instance name (e.g., main, vendas)

agent
string

Default agent for this instance

channel
string

Channel type (default: whatsapp)

dmPolicy
string

DM policy: open|pairing|closed (default: open)

groupPolicy
string

Group policy: open|allowlist|closed (default: open)

Response

Success — no @Returns schema declared; payload shape is loose.

The response is of type object.