POST PhoneChannel?shortCode={shortCode}&phoneNumber={phoneNumber}&countryCode={countryCode}

Creates a PhoneChannel record given the provided number, country code, and short code.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shortCode

ShortCode to associate the new PhoneChannel object with.

string

Required

phoneNumber

PhoneNumber to use when creating a new PhoneChannel.

string

Required

countryCode

CountryCode to create the new PhoneChannel item for.

string

Default value is 1

Body Parameters

None.

Response Information

Resource Description

int ID of the newly created PhoneChannel object

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>