POST /v1/consents

View as Markdown

For AI agents: the docs index is at /llms.txt, and every page is also served as markdown at its URL plus .md.

Permissions and opt-outs

Record a recipient's written consent with its evidence. Sends to a number are refused until consent is on file.

Requires an API key. See authentication.

Request body

FieldTypeRequiredNotes
phonestringyesA US or Canadian phone number. E.164 (+13125550123) is best; national formats are accepted.
seller_namestringyesWho the messages come from, exactly as the recipient saw it.
methodweb_form, sms_reply, signed_document, recorded_callyes
disclosure_textstringyesThe exact wording the recipient agreed to. Must say messages use a prerecorded, artificial or AI-generated voice and that consent is not a condition of purchase.
source_urlstringno
ipstringno
user_agentstringno
signed_namestringno
evidencestringnoAnything else that proves the consent (form payload, call recording link). It is hashed into the evidence record.
captured_atstringnoWhen the person consented, if earlier than now.

Responses

StatusMeaning
201The consent record with its evidence hashes.
401Missing or invalid API key.
429Rate limited.
otherError envelope.

Failures use the standard envelope described in errors.

Try VoiceDeliver for $1 on Individual, Growth and Scale.See pricing