Do Not Call
Numbers your AI never calls. Reading needs dnc:read, changes need dnc:write. GH's own list is always enforced but not listed.
Your Do Not Call list, newest first. Pass phone_number to look up one number.
Query parameters
phone_numberstringOptionalLook up one number, in any common US format.
Up to 32 characters
sourcestringOptionalOne ofopt_outmanualper_pageintegerOptionalHow many items per page, 1 to 100.
Minimum 1 · Maximum 100
cursorstring | nullOptionalThe
meta.next_cursor(ormeta.prev_cursor) of the previous page.Up to 1024 characters
Returns
Paginated set of DoNotCallEntryResource
dataarray of objectsRequiredlinksobjectRequiredmetaobjectRequired
Responses
- 200Paginated set of
DoNotCallEntryResource - 401The API key is missing, invalid, expired or revoked.
- 403The key does not have the
dnc:readscope. - 422Validation error
- 429Too many requests for this key. Wait for the
Retry-Afterseconds.
curl https://vocenya.com/api/public/v1/do-not-call \
-H "Authorization: Bearer $VOCENYA_API_KEY"{
"data": [
{
"id": 1,
"livemode": true,
"phone_number": "+15125550123",
"source": "opt_out",
"note": "string",
"removable": true,
"created_at": "2026-10-02T14:03:11+00:00"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
},
"meta": {
"path": "string",
"per_page": 1,
"next_cursor": "string",
"prev_cursor": "string"
}
}Add a number. Send opted_out: true when the person asked not to be called: it becomes a
permanent opt-out and their AI-call consent is revoked. Adding a number already on the list
returns the existing entry with status 200.
Request body
phone_numberstringRequiredUp to 32 characters
notestring | nullOptionalUp to 500 characters
opted_outbooleanOptionalThe person asked not to be called. Recorded as a permanent opt-out that can never be removed, and any AI-call consent they gave is revoked.
Returns
The number was already on the list: the existing entry.
dataobjectRequired
Responses
- 200The number was already on the list: the existing entry.
- 201The entry.
- 401The API key is missing, invalid, expired or revoked.
- 403The key does not have the
dnc:writescope. - 422Validation failed, or the number is not a valid US number (
invalid_number). - 429Too many requests for this key. Wait for the
Retry-Afterseconds.
curl -X POST https://vocenya.com/api/public/v1/do-not-call \
-H "Authorization: Bearer $VOCENYA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "+15555550123",
"note": "Asked us to stop calling"
}'{
"data": {
"id": 1,
"livemode": true,
"phone_number": "+15125550123",
"source": "opt_out",
"note": "string",
"removable": true,
"created_at": "2026-10-02T14:03:11+00:00"
}
}Remove a number you added. People who asked not to be called can never be removed.
Path parameters
entryintegerRequiredThe entry id.
Responses
- 204Removed.
- 401The API key is missing, invalid, expired or revoked.
- 403The entry is an opt-out and cannot be removed (
opt_out_permanent). - 404No record with that id belongs to your account.
- 429Too many requests for this key. Wait for the
Retry-Afterseconds.
curl -X DELETE https://vocenya.com/api/public/v1/do-not-call/57 \
-H "Authorization: Bearer $VOCENYA_API_KEY"