Sub-Accounts
Assign DID to Sub-Account
Assign a parent-pool DID to one of your sub-accounts so it can place and receive calls on that number.
POST
Assign DID to a sub-account
Assigns a DID from the parent account’s number pool to a sub-account. Once assigned, the sub-account can place and receive calls on the number.
Authenticate with
X-Auth-ID / X-Auth-Token (the parent account’s credentials).Path parameters
auth_id— the parent (MA_) account’s Auth ID.e164— the DID in E.164 format, URL-encoded (%2Bfor+). The number must be owned by the parent account’s pool.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
sub_account_id | string | Yes | The sub-account (SA_...) to receive the DID. |
cURL Request
Response
A successful assignment returns200 or 204 with no body.
Error Response (404 Not Found): the number is not in the parent pool, or the sub-account does not exist:
Error Response - 404 Not Found
Moving the number back to the parent pool is subject to a 15-day cool-off — see Unassign DID.
Authorizations
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Path Parameters
Your account Auth ID
Example:
"MA_XXXXXX"
The number in E.164, URL-encoded (use %2B instead of +).
Example:
"%2B919876543210"
Body
application/json
Example:
"SA_XXXXXX"
Response
DID assigned to the sub-account