Hosted Voice API
Outbound Calling
Manage outbound calling lists for call queues
POST
/hostedvoice/outbound_calling/createAdd outbound calling entry
Add outbound calling entry
Parameters
accountintegerrequiredCall queue account number
numberstringrequiredE164 format
namestringrequiredDescriptive name
Request
curl \
-X POST \
"https://n8n2.atomcomm.com/webhook/hostedvoice/hostedvoice/outbound_calling/create" \
-H "Authorization: {{access_token}}" \
-H "Domain-Name: {{domain_name}}" \
-H "service_id: {{service_id}}" \
-H "Content-Type: application/json" \
-d '{
"account": 400,
"number": "61299999999",
"name": "Customer callback"
}'Response200 Success
{
"status": "success"
}GET
/hostedvoice/outbound_calling/listList outbound calling entries
List outbound calling entries
Parameters
accountintegerqueryrequiredCall queue account
pageintegerqueryoptionalPage number
sizeintegerqueryoptionalMax 50
Request
curl \
"https://n8n2.atomcomm.com/webhook/hostedvoice/hostedvoice/outbound_calling/list?account={account}&page={page}&size={size}" \
-H "Authorization: {{access_token}}" \
-H "Domain-Name: {{domain_name}}" \
-H "service_id: {{service_id}}"Response200 Success
[
{
"id": 1,
"number": "61299999999",
"name": "Customer callback",
"status": "pending"
}
]DELETE
/hostedvoice/outbound_calling/deleteRemove outbound calling entry
Remove outbound calling entry
Parameters
accountintegerrequiredCall queue account number
idintegerrequiredEntry ID
Request
curl \
-X DELETE \
"https://n8n2.atomcomm.com/webhook/hostedvoice/hostedvoice/outbound_calling/delete" \
-H "Authorization: {{access_token}}" \
-H "Domain-Name: {{domain_name}}" \
-H "service_id: {{service_id}}" \
-H "Content-Type: application/json" \
-d '{
"account": 400,
"id": 1
}'Response200 Success
{
"status": "success"
}POST
/hostedvoice/outbound_calling/resetReset number status
Reset number status
Parameters
accountstringrequiredCall queue account number
idstringrequiredEntry ID
Request
curl \
-X POST \
"https://n8n2.atomcomm.com/webhook/hostedvoice/hostedvoice/outbound_calling/reset" \
-H "Authorization: {{access_token}}" \
-H "Domain-Name: {{domain_name}}" \
-H "service_id: {{service_id}}" \
-H "Content-Type: application/json" \
-d '{
"account": "400",
"id": "1"
}'Response200 Success
{
"status": "success"
}