POST
Record that a person agreed to be contacted

Authorizations

Authorization
string
header
required

A project API key, alt_live_… or alt_test_….

Headers

Idempotency-Key
string

Up to 255 characters. Repeating a request with the same key replays the stored response for 24 hours; the same key with a different request is a 409.

Maximum string length: 255

Path Parameters

id
string
required

Body

application/json
e164
string
required
source
string
required

How they agreed: a form, a call, an existing customer record.

evidence
string

Response

Recorded. opted_out true means the person's STOP still stands.

number_id
string
e164
string
recorded
boolean
opted_out
boolean