Record call consent
Changed onRecords consent to call a number for a purpose (marketing or transactional). Required before an outbound call can be placed.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
The person's phone number. Without a country code it is read in your line's country; it is stored in E.164, e.g. +14155550123.
Marketing consent must be web_form, checkout or api.
IANA time zone of the person. Defaults to the number's local zone; required when it can't be told from the number.
Contact ID; an unknown one is a 404.
Response
Consent recorded
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning