Plivo REST API
.
Authorization
, then, from the drop-down list, set the Type as Basic Auth.
Username
and Password
, fill in your Plivo Auth ID and Auth Token respectively, which you can find on the overview page of the console.
auth_id
as an environment variable, so you can use it in every endpoint you have.
Plivo REST API
.
Variables
. Declare the variable auth_id
, and provide the initial and current value as the Auth ID from the console.
{{"{{auth_id"}}}}
within your Postman collection. We’ve already done that for you for all the APIs in the Plivo collection.
Call
and select the request to make an outbound call
. Replace from
with your caller_id, to
with the destination number you’d like to make a call, and answer_url
with a valid publicly accessible URL that returns a valid XML. These are the only mandatory parameters.
Account Details
answer_url
updated in the collection returns a valid XML document, which means you just need to update the from
and to
fields to test the API.