Record an outreach outcome (becomes a learning label)

POST/outcomes

Requires scope: write:outcomes

Parameters

ParameterInTypeDescription
Idempotency-KeyrequiredheaderstringStable logical request ID required for every machine mutation; exact retries replay and changed inputs conflict.

Request body

FieldTypeAllowed valuesDescription
store_idrequiredstringany string
actionrequiredstringdiscoveryqualifyingproposalnegotiationwonlost
valuenumberany numberDeal value, for won
occurred_atstringany string
notestringany string
lost_reasonstringno_responsetimingbudgetchose_another_agencyproject_cancellednot_a_fitotherRequired when action is lost
lost_reason_otherstringany stringRequired when lost_reason is other

Responses

StatusDescription
200Recorded
400Invalid body
401Missing or invalid API key
403Key lacks the required scope
429Rate limit exceeded (see Retry-After)
Is this page helpful?