What changes
| Concept | Plivo | Vobiz |
|---|---|---|
| SDK package | import plivo | import vobiz |
| Client class | plivo.RestClient(auth_id, auth_token) | vobiz.RestClient(auth_id, auth_token) |
| 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
RestClientconstructor signature is identical, so swappingplivoforvobizis a drop-in change. Both SDKs read credentials from the environment when you omit them. - 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.