Register this tenant's federal SAN and the area codes it covers
const url = 'https://api.vocapable.com/v1/dnc-subscriptions';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"account_ref":"example","area_codes":["example"],"expires_at":"2026-04-15T12:00:00Z"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.vocapable.com/v1/dnc-subscriptions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "account_ref": "example", "area_codes": [ "example" ], "expires_at": "2026-04-15T12:00:00Z" }'Register (or refresh) this tenant’s own FTC SAN - its federal DNC authorization.
This records authorization, not data. The federal registry is platform reference data
refreshed by ingestion and shared across tenants (the same boundary
POST /dnc-entries enforces when it refuses a federal scope); a tenant’s subscription is
what gates that tenant’s access to it. Re-registering the same SAN updates its coverage
rather than duplicating it. The credential is not accepted here - it is held in the
platform vault - so this endpoint records the account reference and coverage only.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Register (or refresh) this tenant’s federal SAN and the area codes it covers.
The SAN is the tenant’s own FTC Subscription Account Number, obtained at telemarketing.donotcall.gov - registering it is what authorizes this tenant’s federal Do-Not-Call screening. Re-registering the same SAN updates its coverage rather than duplicating it. One SAN serves one seller (an FTC rule), so a tenant registers its own and attests to that; the credential is never sent here.
This does not load DNC data. The federal registry is platform reference data, refreshed by ingestion and shared across tenants; a customer’s subscription authorizes that tenant’s access to it, and its own upload is not accepted for the same reason a tenant cannot write a federal DNC entry (the shared dataset must not be tenant-writable).
object
Examplegenerated
{ "account_ref": "example", "area_codes": [ "example" ], "expires_at": "2026-04-15T12:00:00Z"}Responses
Section titled “Responses”Successful Response
A tenant’s registered DNC registry subscription - its SAN and the NPAs it covers.
The credential behind the SAN is held in the platform vault and is never returned; only the account reference and the coverage are.
object
Examplegenerated
{ "id": "example", "kind": "example", "account_ref": "example", "area_codes": [ "example" ], "status": "example", "effective_at": "2026-04-15T12:00:00Z", "expires_at": "2026-04-15T12:00:00Z"}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}