How to make a bulk call using a single API

Plivo’s API supports bulk calling. Use the following command to make bulk calls:

POST https://api.plivo.com/v1/Account/{auth_id}/Call/

The auth_id can be procured from your dashboard: https://console.plivo.com/dashboard/

There are three mandatory requirements that must be met to make an outbound call. 

The “from” requirement

The “from” requirement refers to the phone number that can be used as the caller ID (with the country code). For example, a US caller ID number could be, 15677654321, where '1' is the country code.

The “to” requirement

Use the regular number(s) or SIP endpoint(s) to place a call. A regular number must be prefixed with country code but without the + sign.

Using the REST API:

Multiple numbers can be sent by using a delimiter. To make bulk calls please use the delimiter “<”

For example: 15677654321<12077657621<12047657621..1

Regular numbers and SIP endpoints can be added together in a bulk call. 

For example: 5677654321<15673464321<sip: john1234@phone.plivo.com 

Using an SDK:

Every language has its own defined syntax to use for bulk calling. Please refer to this page for a guide for each language: https://github.com/plivo 

The “answer_url” requirement

This refers to the URL invoked by Plivo when the outbound call is answered. 

To add additional options on the API, please refer https://www.plivo.com/docs/api/call/#arguments 

Was this article helpful?
0 out of 0 found this helpful
Didn’t find what you are looking for? Create new ticket