Plivo APIs are packaged and ready to use with Postman, an API testing tool that helps developers set up, test, and explore APIs.
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.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.Messaging
, and select the request to Send SMS
. Replace src with your from_number, dst with destination number where you’d like to send the message, and text with appropriate content. These are the only mandatory parameters.
You can replace the other optional parameters with meaningful values for your use case, or you can leave them out if you’re not using them in the request.
To learn more about optional and required parameters, either refer to the documentation available within the Postman collection or visit our Messaging API reference guide.