Number Provision (Purchase/Order)
Prerequisites:
- Required: Bearer token —
POST /v1.0/oauth2/tokens - Required: Message Route ID (MRID) —
POST /v1.0/message/routes - Optional: Voice Route ID (CRID) —
POST /v1.0/voice/routes(only needed ifVoiceEnabled: true) - Optional: Subscriber ID (TSUID) —
POST /v1.0/subscribers/create(to assign the number at provision time)
Purchase and activate a phone number on your account. Before provisioning, ensure you have already created a Message Route (MRID) and Voice Route (CRID) — numbers provisioned without routes will have no call or message handling. Specify the number classification (mvno for full messaging and voice, iot for data and p2p messaging only), and required capabilities. Returns an OrderId for status tracking.
What this does: Purchases and activates the number, returning an OrderId, the assigned phone number in E.164 format, a PhoneNumberId (NID-), and an eSIM QR code (if applicable). The OrderId can be used to track provisioning status.
Next steps:
- Check order status —
GET /v1.0/numbers/order - Send a test message —
POST /v1.0/message/outbound
Documentation Index
Fetch the complete documentation index at: https://docs.telegent.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Enter the token obtained from the Authentication endpoint
Body
Number classification: 'mvno' (supports both a2p and p2p), 'iot' (p2p only - cannot be provisioned as a2p; use mvno NumberType for a2p MessageType)
mvno, iot "iot"
Message type: a2p (Application-to-Person) or p2p (Person-to-Person)
a2p, p2p "p2p"
Enable SMS/MMS capabilities
true
Enable voice call capabilities
false
Product type for the provisioned number. Options: Sms-Only, Data-Only, Sms+Data, Sms+Data+Voice
Sms-Only, Data-Only, Sms+Data, Sms+Data+Voice "Sms+Data"
Enable data capabilities (for IoT numbers)
true
MRID for message routing configuration
"MRID-81dr9t90-....-....-....-.........."
CRID for voice routing configuration
"CRID-5nov0yuy-....-....-....-........."
Preferred 3-digit area code. Lookup searches AreaCode first before ZipCode. If both AreaCode and ZipCode are left blank or null, a randomized set of results will be returned
"201"
5-digit zip code. Used as fallback if AreaCode is unavailable. You may provide both AreaCode and ZipCode, or just one; AreaCode takes priority if included. Please note that zip codes must be valid and within the United States.
"84043"
Integrated Circuit Card Identifier. Optional field, but required when provisioning a physical SIM (pSIM)
"8901240397190195850"
Optional subscriber-id to be assigned to the new number
"TSUID-1234567999"
Account ID (AID) to provision the number under. Required when a distributor account has more than one sub-account.
"AID-ab12345-2725-45a1-bd5e-526ed19799xx"
Response
Success — returns the order ID, assigned phone number, and provisioning status
The response is of type object.