Skip to main content
POST
Propose or confirm a CRM fact

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

CRM entity id

entityType
string
required

CRM entity type

key
string
required

Fact key

value
string
required

JSON value or plain string

account
string

Related account

confidence
string

Confidence between 0 and 1

contact
string

Related contact

idempotencyKey
string

Deduplicate repeated fact writes

opportunity
string

Related opportunity

status
string

proposed|confirmed

Response

Success — body conforms to the @Returns schema.

changedCount
number
required
status
string
required
{key}
any