API Response

    All Plivo API endpoints return a response in JSON format. An api_id in each response uniquely identifies each request. The API returns one of these HTTP status codes depending on whether the API call is successful or not.

    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 is not allowed

    500

    Server error