Record your company's National Do Not Call SAN (owner only)
PUT
/v1/workspace/national-dnc/san
const url = 'https://api.vocapable.com/v1/workspace/national-dnc/san';const options = { method: 'PUT', 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 PUT \ --url https://api.vocapable.com/v1/workspace/national-dnc/san \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "account_ref": "example", "area_codes": [ "example" ], "expires_at": "2026-04-15T12:00:00Z" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
WorkspaceSanRegistration
Record (or refresh) the company’s SAN - the owner only.
object
Examplegenerated
{ "account_ref": "example", "area_codes": [ "example" ], "expires_at": "2026-04-15T12:00:00Z"}Responses
Section titled “Responses”Successful Response
Media typeapplication/json
WorkspaceNationalDncSetup
PRD E13-R3: the owner’s National Do Not Call setup - the SAN the company screens its
marketing lists under (upstream, on its own side: adr/0018), and the attestation on
record. Vocapable keeps both on file and shows them on every consent ledger; it never
checks a number against the registry, and nothing here says it does.
object
san
required
Any of:
WorkspaceSanSubscription
The company’s own National Do Not Call Registry subscription (its SAN), on file.
null
attested
required
Attested
boolean
can_edit
required
Can Edit
boolean
registry_url
Registry Url
string
guidance
required
Guidance
string
Example
{ "registry_url": "https://telemarketing.donotcall.gov"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}