v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-03-105840481.8 KB
MessagingV1PhoneNumber

post/v1/Services/{ServiceSid}/PhoneNumbers

Path parameters

ServiceSidstring required

The SID of the Service to create the resource under.

Response

OK

sidstring nullable

The unique string that we created to identify the PhoneNumber resource.

account_sidstring nullable

The SID of the Account that created the PhoneNumber resource.

service_sidstring nullable

The SID of the Service the resource is associated with.

date_createdstring date-time nullable

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updatedstring date-time nullable

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

phone_numberstring phone-number nullable

The phone number in E.164 format, which consists of a + followed by the country code and subscriber number.

country_codestring nullable

The 2-character ISO Country Code of the number.

capabilitiesstring[] nullable

An array of values that describe whether the number can receive calls or messages. Can be: Voice, SMS, and MMS.

urlstring uri nullable

The absolute URL of the PhoneNumber resource.