> ## Documentation Index
> Fetch the complete documentation index at: https://plivo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# API response

> PHLO API response format — JSON responses, api_id, and HTTP status codes

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

### HTTP status codes we send

<table>
  <tbody>
    <tr>
      <td>**200**</td>

      <td>
        Request has been executed
      </td>
    </tr>

    <tr>
      <td>**201**</td>

      <td>
        Resource created
      </td>
    </tr>

    <tr>
      <td>**202**</td>

      <td>
        Resource changed
      </td>
    </tr>

    <tr>
      <td>**204**</td>

      <td>
        Resource deleted
      </td>
    </tr>

    <tr>
      <td>**400**</td>

      <td>
        A parameter is missing or is invalid
      </td>
    </tr>

    <tr>
      <td>**401**</td>

      <td>
        Authentication failed
      </td>
    </tr>

    <tr>
      <td>**404**</td>

      <td>
        Resource cannot be found
      </td>
    </tr>

    <tr>
      <td>**405**</td>

      <td>
        HTTP method not allowed
      </td>
    </tr>

    <tr>
      <td>**500**</td>

      <td>
        Server error
      </td>
    </tr>
  </tbody>
</table>
