What changes
| Concept | Plivo | Vobiz |
|---|---|---|
| SDK package | import plivo | from vobiz import Vobiz (Python) / @vobiz/sdk (Node) |
| Client class | plivo.RestClient(auth_id, auth_token) | Vobiz(api_key=AUTH_ID, auth_token=AUTH_TOKEN) (Python) / new VobizClient({ apiKey, authToken }) (Node) |
| Env vars | PLIVO_AUTH_ID, PLIVO_AUTH_TOKEN | VOBIZ_AUTH_ID, VOBIZ_AUTH_TOKEN |
| Raw HTTP auth | HTTP Basic (auth_id:auth_token) | X-Auth-ID + X-Auth-Token headers |
| Base URL | https://api.plivo.com/v1 | https://api.vobiz.ai/api/v1 |
| Resource path | /Account/{auth_id}/Call/ | /Account/{auth_id}/Call/ (unchanged) |
- The Vobiz client takes the Auth ID as
api_keyand the Auth Token asauth_token(these map to theX-Auth-ID/X-Auth-Tokenheaders). Unlike Plivo’sRestClient, pass the credentials explicitly when constructing the client. - Vobiz auth IDs are prefixed:
MA_for a master account andSA_for a sub-account. Use the full prefixed value wherever you previously used a Plivo auth ID. - The resource path keeps Plivo’s PascalCase and trailing slash (
/Account/{auth_id}/Call/). Only the host and version prefix change.
SDK client init
Swap the package and your environment variables. The client object behaves the same way afterward.Raw HTTP request
Plivo authenticates over HTTP Basic auth, passingauth_id:auth_token. Vobiz instead expects two dedicated headers - X-Auth-ID and X-Auth-Token - alongside Content-Type: application/json. The host and version prefix change; the resource path does not.
The request body and the
calls.create(...) signature itself do not change as part of authentication. Parameter-level differences (field names, supported options) are covered in Endpoint mapping.Reference
- Official Python SDK: vobiz-ai/Vobiz-Python-SDK
- Raw-HTTP reference: vobiz-ai/Vobiz-All-XML-python
Next
Endpoint mapping
Map Plivo call, recording, and account endpoints to their Vobiz equivalents.
Back to migration guide
Return to the Plivo to Vobiz migration overview.