Tools and News for Developers using the AllClients Platform

AddExistingPhoneNumber

Overview

Adds a phone number (that already exists in the Master Twilio Account) to the database via an http form post.

Post Url

https://ReplaceWithYourWhiteLabelCRMDomain/api/2/AddExistingPhoneNumber.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
sid Yes Twilio SID for this number.  ex: PNc11de801ffd28f2eb5cf42026adb33de

* 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>