Skip to main content
POST
Link a contact to an opportunity

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

Contact ID or identity

opportunity
string
required

CRM opportunity ID

account
string

CRM account ID

primary
boolean

Mark as primary opportunity contact

role
string

Opportunity role (default: stakeholder)

Response

Success — body conforms to the @Returns schema.

changedCount
number
required
status
string
required
{key}
any