cURL
Phone Numbers
Purchase phone number
Purchase a phone number and add it 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 purchased 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"
Unique identifier for a Phone Number Purchase History. Format: ph_purch_[test_]{ksuid}
Pattern:
^ph_purch_(?:test_)?[a-zA-Z0-9]{27}$Example:
"ph_purch_2DbBs7GWhGvVNJGrDXr5RG0mBWI"