Response
API responses
Plivo API endpoints return responses in JSON format. Plivo sets an api_id
in each response to uniquely identify your request. Each API call returns one of these HTTP status codes depending on whether the call succeeds or fails.
200 | Request has been executed |
201 | Resource created |
202 | Resource changed |
204 | Resource deleted |
400 | A parameter is missing or is invalid |
401 | Authentication failed |
404 | Resource cannot be found |
405 | HTTP method not allowed |
429 | Too many requests, rate limited |
500 | Server error |
Casing convention of the responses:
- Python: Snake case
- Node.js: Camel case
- Go: Camel case
- Java: Camel case
- .NET: Pascal case
- Ruby: Snake case
- PHP: Camel case