Phone numbers
Phone numbers are carrier-grade, SMS- and voice-enabled numbers. You can provision new numbers, attach them to agents, list existing numbers, retrieve messages for a number, and release numbers when no longer needed.
SMS compliance: Receiving inbound SMS works out of the box. To send outbound SMS, US carriers require 10DLC (10-Digit Long Code) registration. Fill out the registration form, it takes about 5 minutes and we submit everything to the carriers for you. If you can’t figure it out, schedule a call and we’ll handle the registration for you. Voice calls (inbound and outbound) are not affected and work immediately.
Create number
Provision a new SMS-enabled phone number.
Request body
Example
List numbers
List all phone numbers for this project.
Query parameters
Example
Look up a number
Check line-type intelligence for any phone number before you message it: whether it is a mobile, landline, or VoIP line, its country, and whether the handset supports RCS. Useful for keeping agents from spending messages on numbers that can never receive them.
Billed at $0.009 per number looked up.
Query parameters
Example
lineType is "mobile", "landline", or "voip"; fields are null when a number cannot be resolved. Accounts with a negative balance receive a 402 before any lookup runs.
Delete number (release)
Release (delete) a phone number.
This action:
- Releases the number back to the carrier pool
- Marks the number as
"released"in the database - Keeps all messages and conversation history for audit purposes
This action is irreversible. The number cannot be recovered once released.
Example
Get messages for number
Get messages for a specific phone number. Supports cursor-based pagination via before/after timestamps.

