Skip to main content
POST
Purchase a phone number

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
phoneNumber
string
required

Phone number in E.164 format.

Example:

"+15551234567"

name
string

Optional custom name for the phone number.

Maximum string length: 100

Response

Phone number purchased successfully.

phoneNumber
object
required