Skip to main content
An empty number pool resource is created automatically when a new Powerpack is created. You can add phone numbers, shortcodes, and toll-free numbers to the pool to use for messaging.

The Number Pool Object

string
Unique identifier for the number pool.
string
Subresource URI for numbers in the pool.
string
Subresource URI for shortcodes in the pool.
Example Object

Numbers

Numbers in a number pool have the following attributes:
string
Unique identifier for the number pool.
string
The phone number.
string
The type of number. One of: fixed, mobile, toll-free.
string
The service capability of number. One of: sms, mms.
string
The ISO2 code of the country associated with the number.
string
Timestamp in ISO 8601 format.
string
Account phone number resource URI.
Example Number Object

Add a Number

Add SMS- and MMS-enabled numbers to a number pool resource.
POST

Arguments

string
Set this parameter to sms for SMS-enabled numbers or mms for MMS-enabled numbers. Defaults to sms.

Response

Retrieve a Number

Retrieve the details of a specific number from a number pool.
GET

Arguments

No arguments need to be passed.

Response

List All Numbers

Fetch a list of numbers from a number pool.
GET

Arguments

string
A comma-separated list of prefixes. Values provided should exclude the country code prefix. A maximum of 10 prefixes may be specified.
string
Filter by number type: fixed, toll-free, or mobile. Note that local and national numbers should be considered as fixed.
string
Filter by capability: sms or mms.
string
ISO2 code of the phone number country. Required if the starts_with filter is specified.
integer
Number of results per page. Maximum is 20. Defaults to 20.
integer
Number of value items by which the results should be offset. Defaults to 0.

Response

Remove a Number

Remove a number from a number pool.
DELETE

Arguments

boolean
Set to true to also unrent the number. Defaults to false.

Response


Shortcodes

Shortcodes in a number pool have the following attributes:
string
Unique identifier for the number pool.
string
The shortcode value.
string
ISO2 code of the country associated with the shortcode.
string
Timestamp in ISO 8601 format.
Example Shortcode Object

Retrieve a Shortcode

Retrieve the details of a specific shortcode from a number pool.
GET

Arguments

No arguments need to be passed.

Response

List All Shortcodes

Fetch a list of shortcodes from a number pool.
GET

Arguments

No arguments need to be passed.

Response

Remove a Shortcode

Remove a shortcode from a number pool. Note that the shortcode is only unlinked from the number pool, not unrented.
DELETE

Arguments

No arguments need to be passed.

Response


Toll-Free Numbers

Toll-free numbers in a number pool have the following attributes:
string
Unique identifier for the number pool.
string
The toll-free number.
string
The type of number. Always tollfree for toll-free numbers.
string
The service capability: sms or mms.
string
ISO2 code of the country associated with the toll-free number.
string
Timestamp in ISO 8601 format.
string
Account phone number resource URI.
Example Toll-Free Object

Add a Toll-Free Number

Add existing SMS- and MMS-enabled toll-free numbers to a number pool.
POST

Arguments

No arguments need to be passed.

Response

Retrieve a Toll-Free Number

Retrieve the details of a specific toll-free number from a number pool.
GET

Arguments

No arguments need to be passed.

Response

List All Toll-Free Numbers

Fetch a list of all toll-free numbers from a number pool.
GET

Arguments

No arguments need to be passed.

Response

Remove a Toll-Free Number

Remove a toll-free number from a number pool.
DELETE

Arguments

boolean
Set to true to also unrent the toll-free number. Defaults to false.

Response