For the complete documentation index, see llms.txt. This page is also available as Markdown.

Manage Dedicated Number Pools via API

Learn how to create, register, configure, and manage Dedicated Number Pools with the Mobile Text Alerts API

This guide walks through the full lifecycle of a Dedicated Number Pool with the Mobile Text Alerts API: submitting a new pool for registration, waiting for brand and campaign review, adding numbers and sending once the pool is approved, and managing the pool over time. It uses several endpoints together in a single worked example.

A Dedicated Number Pool is a group of dedicated 10DLC numbers that share a single registered brand and campaign and are managed as one unit. Each pool carries its own brand and campaign registration, independent of your account's own brand registration, and an account can have as many pools as it needs.

Pools also give you pool-wide sending behavior that would otherwise need to be configured on every send:

  • Sticky sender: The first time a subscriber receives a message through the pool, Mobile Text Alerts remembers which pool number sent it. That number "sticks" to the subscriber and is used for all future sends to them through the pool, so each subscriber sees a consistent sending number.

  • Gated sending: Enable gated sending for every message sent through the pool, rather than specifying it on each individual send.

This page covers how the Dedicated Number Pool endpoints work together. See the Dedicated Number Pools API reference for complete endpoint, field, and response details.

Dedicated Number Pool lifecycle overview

The following is the typical lifecycle of a Dedicated Number Pool:

Submit the pool for registration Brand and campaign review (1–3 business days) Add numbers to the active pool Send messages through the pool Manage the pool over time

Implementation steps:

1

Submit the pool for registration

You submit a new pool with its brand, campaign, and pool configuration in a single request.

2

Wait for review

The pool enters the in_review status while its brand and campaign are reviewed.

3

Poll for approval

You poll the pool's status until it becomes active.

4

Add numbers

You add dedicated numbers to the pool, optionally by area code.

5

Send messages

You send messages through the pool by including its poolId on POST /send requests.

6

Manage the pool

You update pool details, remove numbers, or deactivate the pool as your needs change.

Pool statuses

Every pool returns a status field with one of the following values:

Status
Meaning
What you can do

in_review

The pool's brand and campaign are being reviewed.

Update the pool name and settings. Update brand and campaign data while editable is true.

active

The pool is approved and ready for use.

Add and remove numbers, send messages, update the pool name and settings.

inactive

The pool has been deactivated and its numbers released.

Nothing. Contact your Account Manager to discuss reactivation.

Prerequisites

Before working with Dedicated Number Pools you need to have:

  • Completed the steps in Getting Started and have a valid API key.

  • Complete brand information for the business the pool will send on behalf of, including its Tax ID / EIN. See Gather brand information below for the full list.

  • A live, publicly accessible opt-in page served over HTTPS that shows how recipients consent to receive messages from this brand.

  • (Optional) A webhook endpoint, if you want to receive events for this pool separately from the rest of your account. See Route pool events to a webhook below.

Store pool data

Mobile Text Alerts holds the pool's registration and numbers, but you will need a few values from the API in your own system. At minimum, keep the following for each pool:

Field
Purpose

poolId

The pool's id, returned when the pool is created. Required for every other pool request, for sending through the pool, and for pool-specific webhooks.

status

The pool's last known status, used to decide when to stop polling and start adding numbers.

editable

Whether the pool's brand and campaign data can still be updated through the API.

campaign

The ID of the campaign assigned to the pool once registration is complete. Useful when referencing the pool's registration with your Account Manager.

Pool IDs are strings (for example, 7d28a848-9234-4647-84a2-96b2c2ff36f6), unlike most other IDs in the Mobile Text Alerts API, which are numbers.

Submit a new pool for registration

A new pool is created with a single POST /dedicated-numbers/dedicated-number-pools request. The request body contains three objects:

  • brand - The business identity this pool's messages are sent on behalf of.

  • campaign - The type of messaging this pool will send, and where recipients opt in.

  • pool - The pool's name and sending settings.

1

Gather brand information

The brand object describes the business this pool configuration is registered for. All brand fields are reviewed during registration, so provide accurate, complete information that matches the business's official records.

Field
Type
Description

entityType (required)

string

The type of legal entity: PRIVATE_PROFIT, PUBLIC_PROFIT, NON_PROFIT, or GOVERNMENT.

companyName (required)

string

The business's legal name.

displayName (required)

string

The business's DBA ("doing business as") name, as recipients will know it.

ein (required)

string

The business's Tax ID / EIN.

street (required)

string

Street address of the business.

city (required)

string

City.

state (required)

string

State.

postalCode (required)

string

ZIP code.

country (required)

string

Two-letter ISO country code (for example, US).

phone (required)

string

The business's phone number. E.164 format is recommended, see Phone Number Format Guide.

email (required)

string

A contact email address for the business.

website (required)

string

The business's website URL.

vertical (required)

string

The business's industry. See the Dedicated Number Pools API reference for the full list of values, such as HEALTHCARE, RETAIL, or TECHNOLOGY.

stockSymbol

string

Stock ticker symbol. Provide for PUBLIC_PROFIT entities.

stockExchange

string

Exchange the stock is listed on, such as NASDAQ or NYSE. Provide for PUBLIC_PROFIT entities.

businessContactEmail

string

An additional business contact email address.

2

Choose a campaign use case

The campaign object describes how the pool's numbers will be used.

Field
Type
Description

usecase (required)

string

The primary type of messaging this pool will send.

optInUrl (required)

string

The URL of the page where recipients opt in to receive messages from this brand. Must be a live, publicly accessible HTTPS URL.

Supported usecase values:

2FA, ACCOUNT_NOTIFICATION, CHARITY, CUSTOMER_CARE, DELIVERY_NOTIFICATION, HIGHER_EDUCATION, LOW_VOLUME, M2M, MARKETING, MIXED, POLITICAL, POLLING_VOTING, SECURITY_ALERT

3

Configure the pool

The pool object sets the pool's name and its pool-wide sending behavior.

Field
Type
Description

name (required)

string

A name for the pool, for your own reference.

settings.useStickySender (required)

boolean

If true, each subscriber is always sent messages from the same pool number after their first send through the pool.

settings.gated_send_method

string

Enables gated sending for every message sent through the pool. One of age, otp, age_and_otp, or link_expires. Omit to send without gating by default.

4

Send the request

Combine the three objects into a request to POST /dedicated-numbers/dedicated-number-pools. Remember to include the Authorization header.

Requirements: Node.js 18+ (native fetch) and an MTA_API_KEY environment variable.

Requirements: pip install requests and an MTA_API_KEY environment variable.

5

Store the pool ID

The response contains the new pool. Store its id as the poolId, you will need it for every remaining step.

New pools always start with a status of in_review and no numbers.

Wait for brand and campaign review

After submission, the pool's brand and campaign are reviewed for registration. This typically takes 1–3 business days. The pool stays in the in_review status for the duration of the review, and its status changes to active once the pool is approved.

Check the review status

There is no webhook event for pool status changes. To find out when a pool is approved, retrieve the pool with GET /dedicated-numbers/dedicated-number-pools/{poolId} and check its status.

Because review takes 1–3 business days, poll no more than once per hour. More frequent polling will not speed up review and counts against your account's rate limits.

In production, run this check from a scheduled job (for example, an hourly cron task across all of your in_review pools) rather than a long-running process.

Response fields during review

Field
Description

status

in_review until the pool is approved, then active.

editable

true while the pool's brand and campaign data can still be updated through the API. Once editable is false, the brand and campaign data are locked and can no longer be changed.

brand

The companyName submitted for the pool's brand.

campaign

The ID of the campaign assigned to the pool, once one has been assigned.

data

The brand, campaign, and pool information submitted for registration. Only populated while the pool is in_review.

Correct brand or campaign information

If you need to correct brand or campaign information after submitting, and the pool's editable value is true, send the corrected information in the data field of PATCH /dedicated-numbers/dedicated-number-pools/{poolId}. The data field uses the same brand, campaign, and pool structure as the create request.

Updating brand or campaign data does not restart the review timeline. If editable is false and the pool's registration information needs to change, contact your Account Manager.

A pool may remain in_review for longer than 3 business days if its registration needs additional attention. Your Account Manager will reach out directly if anything is needed from you.

Set up the pool for sending

Once the pool's status is active, add numbers to it and start sending.

Add numbers to the pool

Numbers are added to a pool one at a time. Each request adds a single new dedicated 10DLC number to the pool and returns that number. There are two ways to add a number:

Endpoint
Use when

You want a number with a specific area code, for example to match the business's local area.

Neither request takes a request body. Repeat the request once for each number you want in the pool.

Example Response

Verify the pool's numbers

To confirm which numbers are in a pool, call GET /dedicated-numbers/dedicated-number-pools/{poolId}/numbers. The response is paginated, see Pagination of Large Results.

Example Response

Route pool events to a webhook

By default, events for messages sent through a pool are delivered to your account's global webhooks. To route a pool's events to a different endpoint, register a webhook with the pool's poolId:

When a pool-specific webhook exists for an event, that event is delivered only to the pool-specific webhook. Events with no matching pool-specific webhook fall back to your global webhook for that event type. Register one webhook per event type you want to route for the pool.

See Configuring Webhooks for Dedicated Number Pools for full details.

Send messages through the pool

To send through a pool, include its poolId on a POST /send request. The message is delivered to the specified recipients using numbers from that pool, applying the pool's sticky sender and gated sending settings. All other /send fields work as described in Send a Message.

Delivery Status

A successful 200 response from the Send Message endpoint does not indicate the message has been delivered. Learn more about checking the delivery status of messages.

Manage a pool

List pools

GET /dedicated-numbers/dedicated-number-pools returns every pool on your account with its current status. The response is paginated, and the query parameter can be used to search pools by name.

Update pool details

Use PATCH /dedicated-numbers/dedicated-number-pools/{poolId} to change a pool's name or settings at any time while the pool is in_review or active. Only the fields included in the request are changed.

Changes to settings apply to messages sent through the pool after the update. To change brand or campaign information, see Correct brand or campaign information above.

Remove a number from a pool

Use DELETE /dedicated-numbers/dedicated-number-pools/{poolId}/number/{phoneNumber} to remove a single number. The phoneNumber path parameter accepts the number with or without the leading +. If you include the +, URL-encode it as %2B. See the Phone Number Format Guide for more on number formats.

Deactivate a pool

Use DELETE /dedicated-numbers/dedicated-number-pools/{poolId} to deactivate a pool you no longer need. Pools can only be deactivated once they are active.

Learn More

Was this helpful?