Skip to main content
POST
Link a contact to an account

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

CRM account ID

contact
string
required

Contact ID or identity

primary
boolean

Mark as primary account contact

role
string

Membership role (default: member)

Response

Success — body conforms to the @Returns schema.

changedCount
number
required
status
string
required
{key}
any