All Plivo APIs use HTTP verbs and standard HTTP status codes. To secure requests, all APIs are served over HTTPS. API EndpointDocumentation Index
Fetch the complete documentation index at: https://plivo.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
The current version of the APIs is
v1. Server SDKs are versioned as latest and legacy.Authentication
All requests to Plivo API are authenticated withBasicAuth using your AUTH ID and AUTH TOKEN. Find your credentials on the Plivo console.
Content Type
Plivo only accepts input of typeapplication/json.
- POST requests: Arguments must be passed as JSON with
Content-Type: application/json - GET and DELETE requests: Arguments must be passed in the query string
Timeouts and Proxies
Server SDKs support specifying timeouts and proxy settings for API requests.Pagination
Plivo uses offset-based pagination to list resources.| Parameter | Description |
|---|---|
limit | Number of results to return. Range: 1-20. Default: 20. |
offset | Number of results to skip for pagination. |
limit=10 and offset=50 returns objects 51-60.
Asynchronous Requests
All Plivo API requests can be made asynchronous. When an async call is made, Plivo returns a generic response with theapi_id, and the actual response is sent to your callback URL.
| Parameter | Description |
|---|---|
callback_url | URL to receive the API response. |
callback_method | HTTP method for the callback. Default: POST. |
Async Response
HTTP Status Codes
| Code | Description |
|---|---|
200 | Request executed successfully |
201 | Resource created |
202 | Resource changed |
204 | Resource deleted |
400 | Parameter missing or invalid |
401 | Authentication failed |
404 | Resource not found |
405 | HTTP method not allowed |
429 | Too many requests (rate limited) |
500 | Server error |
Response Format
All API responses are in JSON format. Every response includes anapi_id to uniquely identify your request.
| Field | Description |
|---|---|
api_id | Unique identifier for the request. |
message | Information about the request result. |
error | Error details if the request failed. |