List your do-not-call numbers
curl --request GET \
--url https://api.voice.mergenlab.ai/v1/dnc \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.voice.mergenlab.ai/v1/dnc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voice.mergenlab.ai/v1/dnc"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "dnc_4e5f6a7b8c9d40e1a2b3c4d5e6f7a8b9",
"number": "+9198XXXXXX07",
"reason": "do_not_call",
"source": "campaign",
"campaign_id": "cmp_7c1d2e3f4a5b4c6d8e9f0a1b2c3d4e5f",
"call_id": "call_0a1b2c3d4e5f40718293a4b5c6d7e8f9",
"added_by": null,
"created_at": "2026-10-26T07:12:00.000Z"
},
{
"id": "dnc_5f6a7b8c9d0e41f2a3b4c5d6e7f8a9b0",
"number": "+9198XXXXXX02",
"reason": "Customer asked not to be called",
"source": "api",
"campaign_id": null,
"call_id": null,
"added_by": null,
"created_at": "2026-10-25T11:00:00.000Z"
}
],
"next_cursor": null
}Payments and do-not-call
List your do-not-call numbers
The numbers on your do-not-call list, newest first, with the reason and where each one came from (source).
GET
/
v1
/
dnc
List your do-not-call numbers
curl --request GET \
--url https://api.voice.mergenlab.ai/v1/dnc \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.voice.mergenlab.ai/v1/dnc', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voice.mergenlab.ai/v1/dnc"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "dnc_4e5f6a7b8c9d40e1a2b3c4d5e6f7a8b9",
"number": "+9198XXXXXX07",
"reason": "do_not_call",
"source": "campaign",
"campaign_id": "cmp_7c1d2e3f4a5b4c6d8e9f0a1b2c3d4e5f",
"call_id": "call_0a1b2c3d4e5f40718293a4b5c6d7e8f9",
"added_by": null,
"created_at": "2026-10-26T07:12:00.000Z"
},
{
"id": "dnc_5f6a7b8c9d0e41f2a3b4c5d6e7f8a9b0",
"number": "+9198XXXXXX02",
"reason": "Customer asked not to be called",
"source": "api",
"campaign_id": null,
"call_id": null,
"added_by": null,
"created_at": "2026-10-25T11:00:00.000Z"
}
],
"next_cursor": null
}Authorizations
Authorization: Bearer vg_live_<32 hex characters>. Keys are issued by Mergen admins and shown once.
Missing or invalid key: 401 unauthorized. Suspended account: 403 tenant_suspended.
Query Parameters
Digits of the number (other characters are ignored).
Maximum string length:
32Page size.
Required range:
1 <= x <= 200next_cursor of the previous page.
Minimum string length:
1