Managing Subaccounts
Create subaccounts, manage their credentials and status, and organize integrations for separate customers or projects.
Subaccounts help organize separate customers, projects, or integrations under your main account. Each subaccount has its own Account SID and Auth Token.
Create a subaccount
You can create a subaccount through the TextGrid Dashboard or the API.
To create one programmatically, authenticate with your main account’s credentials and use Create Sub Account in the API Reference. Provide a friendly name that helps you identify the customer or project.
After creation:
- Save the returned subaccount SID.
- Store its Auth Token securely.
- Associate the SID with the appropriate customer or project in your application.
The creation response contains credentials. Do not expose the complete response in application logs, browser code, screenshots, or support messages.
Creating a subaccount does not automatically complete phone-number setup, messaging registration, or feature enablement.
Use subaccount credentials
For an integration operating within a subaccount, authenticate using that subaccount’s Account SID and Auth Token together.
Use the subaccount’s sending numbers and resource identifiers. Changing the account SID in a URL does not move a phone number, message, or call between accounts.
Main-account credentials can be used for supported subaccount administration operations. Do not assume every endpoint uses the account SID in the URL to select the account on whose behalf it operates.
See Getting Started for authentication instructions.
List and retrieve subaccounts
Use List All Sub Accounts to find subaccounts associated with your main account. The endpoint supports pagination and a friendly-name filter; see the API Reference for details.
The list does not return Auth Tokens. To retrieve an individual subaccount’s details and credentials, use Get Account Details with its SID, authenticated using your main account’s credentials.
Treat account responses as sensitive: individual account details include an Auth Token, and list responses can include Webhook Secrets.
Change a subaccount’s name
Use Change Sub Account Status in the API Reference to update the friendly name as well as the account status.
Submit name changes and status changes separately. If both are supplied in one request, the name change takes precedence.
Change a subaccount’s status
Authenticate with the main account and target the intended subaccount.
The endpoint accepts:
| Requested status | Effect |
|---|---|
active | Enables the subaccount. |
suspended | Disables the subaccount. |
closed | Disables the subaccount. |
Both suspended and closed are returned as closed in account responses. Do not expect the response to preserve a distinction between them.
A disabled subaccount cannot authenticate API requests using its own credentials. Use the main account’s credentials to reactivate it.
Changing status does not delete the subaccount or release its phone numbers, brands or campaigns. Manage resources separately, and contact support if you need to confirm billing or the effect on activity already in progress.
Configure sending and callbacks
Before using a subaccount in production:
- Add or configure its sending phone numbers.
- Complete any required registration and campaign attachment.
- Confirm access to MMS, bulk messaging or email if needed.
- Configure incoming-message, voice, and delivery-status callbacks.
- Use the subaccount’s Webhook Secret when verifying its webhooks.
Do not assume that creating a subaccount enables every feature.
See Managing Phone Numbers and Verifying Webhook Signatures.
Check messaging limits
Messaging allowances can be shared across subaccounts. Creating another subaccount does not necessarily provide additional sending allowance.
Check Messaging limits on the dashboard’s Overview page and read the scope shown beneath the allowance.
See Messaging Limits.
Updated 14 days ago