API used to disable SMS on a DialogTech tracking number
Use the SMS Unregister Number API to disable SMS
The SMS Un-Register Number API is used to disable SMS functionality for a tracking number within a DialogTech account.
Base URL for SMS Unregister Number
Parameter List
Parameter | Required | Accepts | Max Length | Notes | Usage |
---|---|---|---|---|---|
action | Yes | String: sms.unregister_number | n/a | Only accepts sms.unregister_number to disable SMS | Defines the API Call as "SMS Unregister Number" type |
access_key | Yes | String | n/a | Access Key from the Key Manager within a DialogTech account | Credentials used for access to the API for a particular DialogTech account |
secret_access_key | Yes | String | n/a | Secret Access Key from the Key Manager within a DialogTech account | Credentials used for access to the API for a particular DialogTech account |
number | Yes | String: Unformatted Phone Number | 10 | Local phone number* from within a DialogTech account which is SMS enabled | Defines which phone number is being disabled for SMS |
*Tollfree SMS is available by contacting your account manager or by reaching out to DialogTech's Customer Support Team.
Using this API
These code examples are meant to show a basic method of using DialogTech's SMS Unregister Number API
<?php
https://secure.dialogtech.com/ibp_api.php?access_key=ACCESS_KEY&secret_access_key=SECRET_ACCESS_KEY&action=sms.unregister_number&number=5556667777
?>
curl -X ""
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE response [
<!ELEMENT response (result,result_description)>
<!ELEMENT result (#PCDATA)>
<!ELEMENT result_description (#PCDATA)>
]>
<response>
<result>success</result>
<result_description>[5556667777] Unregistered</result_description>
</response>