List all incoming carriers

    This API lists all incoming carrier registered with your account.

    API Endpoint

    GET https://api.plivo.com/v1/Account/{auth_id}/IncomingCarrier/

    Arguments

    name string

    Allows filtering by name. The filter term can be either the exact name of the carrier or a phrase contained within the name the carrier (includes the “starts with” filter).

    limit integer

    Denotes the number of results to display per page. The maximum number of results that can be fetched is 20.

    offset integer

    Denotes the number of value items by which the results should be offset.

    Response

    HTTP Status Code: 200

    {
      "meta": {
        "previous": null,
        "total_count": 1,
        "offset": 0,
        "limit": 20,
        "next": null
      },
      "api_id": "a90cbe28-58d7-11e1-86da-adf28403fe48",
      "objects": [
        {
          "carrier_id": "19381640842535",
          "ip_set": "10.20.10.20,10.10.10.10,10.20.10.30",
          "name": "Custom carrier 1",
          "resource_uri": "/v1/Account/MAXXXXXXXXXXXXXXXXXX/IncomingCarrier/19381640842535/",
          "sms": false,
          "voice": true
          }
      ]
    }