API Endpoint
The Powerpack Object
Attributes
string
Unique identifier for the Powerpack.
string
The name of the Powerpack. Must be unique across all Powerpacks in your account.
boolean
Whether Sticky Sender is enabled. Sticky Sender ensures messages to a particular destination number are always sent from the same source number. Defaults to
true.boolean
Whether Local Connect is enabled. Local Connect prioritizes local numbers matched on area code and state over other numbers in the pool. Defaults to
true.string
The type of application connected to this Powerpack. Allowed values:
xml, phlo.string
The ID of the PHLO or XML application associated with this Powerpack.
string
The URL path to the number pool associated with this Powerpack.
array
An array of number priority configurations specifying the order in which number types should be used for sending messages, organized by country and service type.
string
The timestamp when the Powerpack was created, in UTC format.
Example Powerpack Object
List All Powerpacks
Fetches a list of all Powerpacks in your account.Arguments
integer
The number of results per page. The maximum number of results that can be fetched is 20. Defaults to 20.
integer
The number of value items by which the results should be offset. Defaults to 0. Read more about offset-based pagination.
Response
The response includes ameta field with pagination information:
limit: The size of the page returnedoffset: The offset for the page returnedtotal_count: The total number of records matching the filtersnext: URL pointing to the next page of resultsprevious: URL pointing to the previous page of results
Retrieve a Powerpack
Retrieves the details of a specific Powerpack.Arguments
string
required
The unique identifier of the Powerpack to retrieve. Specified in the request URL.
Response
Create a Powerpack
Create a new Powerpack for intelligent number pooling and traffic distribution.Arguments
string
required
Must be unique across all Powerpacks in your account.
boolean
Whether Sticky Sender should be enabled. Sticky Sender ensures messages to a particular destination number are always sent from the same source number. Defaults to
true.boolean
Whether Local Connect should be enabled. Local Connect prioritizes local numbers matched on area code and state over other numbers in the pool. Defaults to
true.string
Conditional - Must be specified if
application_id is specified. Allowed values: xml, phlo.string
Must be set to a valid PHLO or XML App ID or
"none". If not specified (or set to "none"), no application will be associated with phone numbers added to this Powerpack.array
An array of number priority configurations. Each object contains
country_iso, service_type, and priority with priority1, priority2, and priority3 values.Response
Update a Powerpack
Update a Powerpack’s name, sticky_sender, local_connect, or the application connected to it.Arguments
string
required
The unique identifier of the Powerpack to update. Specified in the request URL.
string
Must be unique across all Powerpacks in your account.
boolean
Whether Sticky Sender should be enabled. Defaults to
true.boolean
Whether Local Connect should be enabled. Defaults to
true.string
Conditional - Must be specified if
application_id is specified and is not "none". Allowed values: xml, phlo.string
Must be set to a valid PHLO or XML App ID or
"none". If not specified (or set to "none"), no application will be associated with phone numbers added to this Powerpack.array
An array of number priority configurations to update.
Response
Delete a Powerpack
Deletes a single Powerpack. This operation cannot be undone.Arguments
string
required
The unique identifier of the Powerpack to delete. Specified in the request URL.
boolean
If set to
true, all numbers connected to the Powerpack will be unrented. Defaults to false.