Skip to main content
POST
Add a stage to a CRM pipeline

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
key
string
required

Stage key

pipeline
string
required

CRM pipeline ID or name

category
string

new|active|waiting|terminal_won|terminal_lost

idempotencyKey
string

Deduplicate repeated create attempts

metadata
string

Metadata JSON object

name
string

Stage display name

order
string

Stage sort order

probability
string

Default probability between 0 and 1

terminal
boolean

Mark stage as terminal

Response

Success — body conforms to the @Returns schema.

changedCount
number
required
status
string
required
{key}
any