cURL
App Phone Numbers
Add phone number to app
Add a phone number to an app
POST
cURL
Authorizations
Admin API key (format: sk_admin_*) for organization-level operations
Path Parameters
Unique identifier for a App. Format: app_[test_]{ksuid}
Pattern:
^app_(?:test_)?[a-zA-Z0-9]{27}$Example:
"app_2DbBs7GWhGvVNJGrDXr5RG0mBWI"
Body
application/json
Response
Phone number added successfully
Unique identifier for a Phone Number. Format: ph_[test_]{ksuid}
Pattern:
^ph_(?:test_)?[a-zA-Z0-9]{27}$Example:
"ph_2DbBs7GWhGvVNJGrDXr5RG0mBWI"
Unique identifier for a App. Format: app_[test_]{ksuid}
Pattern:
^app_(?:test_)?[a-zA-Z0-9]{27}$Example:
"app_2DbBs7GWhGvVNJGrDXr5RG0mBWI"
Type of phone number
Available options:
local, tollfree, mobile Example:
"local"
Geographic location of the phone number
Example:
"San Francisco, CA"
Features supported by the phone number
Example:
["SMS", "MMS", "Voice"]