curl --request POST \
--url https://api.voice.mergenlab.ai/v1/dialer/lists/{id}/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contacts": [
{
"to": "+919876543212",
"name": "Amit Kumar",
"fields": {
"loan_id": "CF-LN-208899"
}
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contacts: [{to: '+919876543212', name: 'Amit Kumar', fields: {loan_id: 'CF-LN-208899'}}]
})
};
fetch('https://api.voice.mergenlab.ai/v1/dialer/lists/{id}/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voice.mergenlab.ai/v1/dialer/lists/{id}/contacts"
payload = { "contacts": [
{
"to": "+919876543212",
"name": "Amit Kumar",
"fields": { "loan_id": "CF-LN-208899" }
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "dl_7c2e9a41b5d04f3e8a1c6b0d2e4f6a8b",
"name": "DPD 30+ October",
"status": "active",
"caller_id": "auto",
"max_attempts": 3,
"retry_after_min": 60,
"wrap_up_sec": 10,
"created_by": {
"type": "api_key",
"id": "key_4d2c1b0a9f8e4d7c6b5a4f3e2d1c0b9a",
"name": null
},
"created_at": "2026-10-22T04:30:00.000Z",
"updated_at": "2026-10-22T04:30:00.000Z",
"counts": {
"pending": 2,
"in_progress": 0,
"done": 0,
"exhausted": 0,
"removed": 0,
"total": 2,
"due_now": 2
},
"added": 2,
"skipped": [
{
"row": 2,
"reason": "duplicate"
}
]
}Add customers to a dialer list
Up to 5,000 per request. Numbers already on the list, and invalid ones, are skipped and reported by row.
curl --request POST \
--url https://api.voice.mergenlab.ai/v1/dialer/lists/{id}/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contacts": [
{
"to": "+919876543212",
"name": "Amit Kumar",
"fields": {
"loan_id": "CF-LN-208899"
}
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contacts: [{to: '+919876543212', name: 'Amit Kumar', fields: {loan_id: 'CF-LN-208899'}}]
})
};
fetch('https://api.voice.mergenlab.ai/v1/dialer/lists/{id}/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voice.mergenlab.ai/v1/dialer/lists/{id}/contacts"
payload = { "contacts": [
{
"to": "+919876543212",
"name": "Amit Kumar",
"fields": { "loan_id": "CF-LN-208899" }
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "dl_7c2e9a41b5d04f3e8a1c6b0d2e4f6a8b",
"name": "DPD 30+ October",
"status": "active",
"caller_id": "auto",
"max_attempts": 3,
"retry_after_min": 60,
"wrap_up_sec": 10,
"created_by": {
"type": "api_key",
"id": "key_4d2c1b0a9f8e4d7c6b5a4f3e2d1c0b9a",
"name": null
},
"created_at": "2026-10-22T04:30:00.000Z",
"updated_at": "2026-10-22T04:30:00.000Z",
"counts": {
"pending": 2,
"in_progress": 0,
"done": 0,
"exhausted": 0,
"removed": 0,
"total": 2,
"due_now": 2
},
"added": 2,
"skipped": [
{
"row": 2,
"reason": "duplicate"
}
]
}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.
Path Parameters
dl_ + 32 hex characters.
Body
1 - 5000 elementsShow child attributes
Show child attributes
Response
The list with how many customers were added.
"dl_7c2e9a41b5d04f3e8a1c6b0d2e4f6a8b"
active, paused, archived A caller ID of yours, auto (the agent's least used number today), or null (the agent's default).
32Dial attempts per customer (no answer, busy, voicemail or failed each count).
1 <= x <= 10Minutes before a customer who was not reached is offered again.
5 <= x <= 10080Seconds the agent sees the next customer before the call is placed (0 = the agent starts each call; a hint for your dialing screen).
0 <= x <= 300Show child attributes
Show child attributes
Customers by status; total leaves out removed; due_now = waiting and due.
Show child attributes
Show child attributes
x >= 0Show child attributes
Show child attributes