sub_accounts.*) but adds two things Plivo has no equivalent for: a kyc_mode that turns a sub-account into a separately-verified customer_use tenant, and a 15-day DID cool-off when you move a number back out of a sub-account.
Plivo → Vobiz mapping
Multi-tenancy is purely a REST/SDK concern.
Before / after: create a tenant
On Plivo a subaccount is just a name + enabled flag. On Vobiz you decide at creation whether it inherits the parent’s KYC (personal_use, the default - closest to Plivo) or is a separately-verified customer_use tenant.
Plivo
Vobiz
auth_credentials (auth_id / auth_token) and a short-lived bearer token pair (access_token / refresh_token, expires_in: 1800) - Plivo only returns auth_id / auth_token.
Key differences & gotchas
- Headers, not Basic auth. Plivo sends
auth_id:auth_tokenas HTTP Basic; Vobiz sendsX-Auth-ID+X-Auth-Tokenheaders. A copiedRestClient(...)won’t authenticate. kyc_modeis the new axis.personal_use(default) is the drop-in equivalent of a Plivo subaccount.customer_usemakes it a separately-verified tenant, requiresemail, and stayskyc_calls_blockeduntil KYC clears.- 15-day DID cool-off. Unassigning a DID used in the last 15 days returns
409 did_cool_off_in_effect; never-used DIDs move instantly. An admin can bypass with?force=true. - Delete is permanent. Vobiz
delete_subaccountpermanently deletes and revokes credentials; reassign DIDs (respecting the cool-off) first. List paging usestotal/page/size.
kyc_mode, PAN/GST/CIN/Aadhaar verification, hosted KYC sessions, kyc_calls_blocked) and the 15-day DID cool-off are Vobiz-only. See sub-account KYC and India KYC for the full flow.