API Response

    All Plivo API endpointss return a response in JSON format. An api_id is set in each response to uniquely identify your request. The API returns one of the following HTTP status codes depending on whether the API call is successful or a failure.

    HTTP Status Codes We Send

    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

    500

    Server error

    Note: Casing convention of the responses are as below.
    • Python: Snake case
    • Node.js: Camel case
    • Go: Camel case
    • Java: Camel case
    • Dotnet: Pascal case
    • Ruby: Snake case
    • PHP: Camel case