OpenSequence
DocsAPI referenceSDKs and CLIReference
Contacts

Record SMS consent (admin only)

PUT
/v1/contacts/{id}/sms-consent

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Path Parameters

id*string
Length1 <= length <= 128

Request Body

application/json
  1. body
consent*boolean
source?string
Lengthlength <= 80
at?unknown

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*unknown
meta*
curl -X PUT 'http://localhost:8080/v1/contacts/string/sms-consent' \  -H 'Content-Type: application/json' \  -d '{  "consent": true}'
{  "success": true,  "data": null,  "meta": {    "request_id": "string",    "next_cursor": "string"  }}