Tools and News for Developers using the AllClients Platform

DeletePhoneNumber

Overview

Removes a VoiceTouch phone number from the database via an http form post.

THIS API FUNCTION DOES NOT delete the phone number from Twilio.   Use the Twilio API to remove the phone number.   (This way you can re-add the phone number in case the customer changes their mind, or move the phone number to a different account)

Post Url

https://ReplaceWithYourWhiteLabelCRMDomain/api/2/DeletePhoneNumber.aspx
  • SSL is requred

Form Fields

Field Max Length* Required Notes
response_type No Default results will be returned in XML. Set this field value to json to return results in JSON format
apiusername Yes API User Name and password are assigned by AllClients
apipassword Yes API User Name and password are assigned by AllClients
accountid Yes
number Yes Twilio phone number, in Twilio’s standard format:  ex:  +17075551234

* An error will not result if Max Length is exceeded. Data will be trimmed to this length. 

Sample Results

Success Message

<?xml version="1.0"?>
<results>
    <message>Success</message>
</results>

Sample Failure Message

<?xml version="1.0"?>
<results>
    <error>Authentication failed</error>
</results>