List Detail on a Specific Phone Number

/get

Full Url:

https://apiv1.teleapi.net/user/dids/get

Arguments:

  • token (string, required)
  • number (int, required)

Info: Get info related to a single DID number.

Success Response

{
    "code": 200,
    "status": "success",
    "data": {
        "id": "123456",
        "user_id": "45678",
        "call_flow_id": null,
        "channel_group_id": null,
        "voicemail_inbox_id": "941",
        "number": "7175551532",
        "country_code": "1",
        "npa": "717",
        "nxx": "555",
        "xxxx": "1532",
        "number_type": "local",
        "state": "PA",
        "ratecenter": "HENSEL",
        "xmpp_enabled": "no",
        "slacksms_team": null,
        "cnam": "disabled",
        "e911": false,
        "note": "this is a note",
        "forced_call_flow": "[{\"command\":\"voicemail\",\"special\":\"straight_to_voicemail\"}]"
    }
}

Error Response

{
    "code": 400,
    "status": "error",
    "data": "did not found"
}

results matching ""

    No results matching ""