Check consent status

Checks whether a phone number has active consent for the authenticated user.

Authentication

AuthorizationBearer

Send as Authorization: Bearer <your-key>. Obtain keys from the portal — prefix sk_live_ for production, sk_test_ for sandbox.

Query parameters

phone_numberstringRequired
E.164 phone number to check
line_idstringOptionalformat: "uuid"
Optionally scope to a specific line

Response

Consent status
statusenum
Allowed values:
consentobject or null

Errors

401
Unauthorized Error
422
Unprocessable Entity Error