Docs

View pool

https://api.apifonica.com/v2/accounts/{accountSid}/pools/{poolSid}

Fetch a pool by its poolSid.

Request example:

curl –X GET https://api.apifonica.com/v2/accounts/{accountSID}/pools/{poolSid} \
-u {accountSID}:{authToken}

Response example:

{
    "sid": "{poolSid}",
    "account_sid": "{accountSid}",
    "name": "My Pool",
    "mode": "xml",
    "call_inbound_mode": "xml",
    "call_outbound_mode": "sip_phone",
    "call_app_sid": "{applicationSid}",
    "controller": "http://mydomain.com/myapp.php",
    "method": "POST",
    "events": "all",
    "numbers": [
        "123456787",
        "123456788",
        "123456789"
    ],
    "created": "Thu, 04 Jun 2020 11:42:04 +0000",
    "updated": "Thu, 04 Jun 2020 11:42:04 +0000"
}

By visiting the Apifonica website you agree with our use of cookies. Read our Cookie Policy here.