Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

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

Body

application/json
starting_number
string
required
write-only

Starting phone number block

Example:

"+19705555000"

range
integer
required
write-only

The phone number range included in the block.

Example:

10

connection_id
string

Identifies the connection associated with this phone number.

Example:

"346789098765567"

messaging_profile_id
string

Identifies the messaging profile associated with the phone number.

Example:

"abc85f64-5717-4562-b3fc-2c9600"

customer_reference
string

A customer reference string for customer look ups.

Example:

"MY REF 001"

Response

Successful response with details about a number block order.

data
object
Example: