API & DOCS

My Account            

API used to get a list of SMS enabled numbers

Use the SMS Get Numbers API to retrieve a list of SMS enabled numbers

The SMS Get Numbers API is used to retrieve a list of SMS enabled numbers from within a DialogTech account

📘

Base URL for SMS Get Numbers

https://secure.dialogtech.com/ibp_api.php

Parameter List

ParameterRequiredAcceptsMax LengthNotesUsage
actionYesString: sms.get_numbersn/aOnly accepts sms.get_numbers to retrieve SMS enabled numbersDefines the API Call as "SMS Get Numbers" type
access_keyYesStringn/aAccess Key from the Key Manager within a DialogTech accountCredentials used for access to the API for a particular DialogTech account
secret_access_keyYesStringn/aSecret Access Key from the Key Manager within a DialogTech accountCredentials used for access to the API for a particular DialogTech account

Using this API

These code examples are meant to show a basic method of accessing DialogTech's IVR Report API.

<?php

https://secure.dialogtech.com/ibp_api.php?access_key=ACCESS_KEY&secret_access_key=SECRET_ACCESS_KEY&action=sms.get_numbers

?>
curl -X ""

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE response [
<!ELEMENT response (result, result_description, data)>
<!ELEMENT result (#PCDATA)>
<!ELEMENT result_description (#PCDATA)>
<!ELEMENT data (number+)>
<!ELEMENT number (#PCDATA)>
<!ELEMENT url (#PCDATA)>
]>
<response>
    <result></result>
    <result_description>[1] Number(s) Returned</result_description>
    <data>
        <number sms_enabled="1" url="http://example.net/sms_listener.php">5559990000</number>
    </data>
</response>