Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication Method
Vobiz uses custom HTTP headers for authentication. Every API request must include bothX-Auth-ID and X-Auth-Token headers.
Getting Your API Credentials
Follow these steps to obtain your API credentials from the Vobiz Console:- Log in to the Vobiz Console - Navigate to console.vobiz.com and sign in.
- Navigate to API Settings - Go to Settings → API Keys in the left sidebar.
- View or Create API Keys - Your Auth ID is always visible. To create a new Auth Token, click Generate New Token.
- Copy Your Credentials - Copy both the Auth ID and Auth Token to use in your application.
Understanding Your Credentials
X-Auth-ID(Public Identifier) - Your account’s authentication ID. Starts withauth_. This is not secret and identifies your account. Example:auth_1234567890abcdef.X-Auth-Token(Secret Key) - Your secret authentication token. Starts withsk_live_for production orsk_test_for test mode. Keep this secure! Example:sk_live_abcdefghijklmnopqrstuvwxyz123456.
Making Authenticated Requests
Include both authentication headers in every API request:Required Headers
| Header | Value | Required |
|---|---|---|
X-Auth-ID | Your Auth ID | Required |
X-Auth-Token | Your Auth Token | Required |
Content-Type | application/json | For POST/PUT |
Common Authentication Errors
401 Unauthorized- Missing or invalid Auth ID/Token.403 Forbidden- Valid credentials but insufficient permissions.- Missing headers - Both
X-Auth-IDandX-Auth-Tokenmust be present. - Incorrect header names - Headers are case-sensitive.
Code Examples
Authenticated request examples in different programming languages.Python
Node.js
PHP
Security Best Practices
- Use environment variables - Store your Auth ID and Token in environment variables (e.g.
VOBIZ_AUTH_ID,VOBIZ_AUTH_TOKEN). Do not hardcode them in your source code. - Never commit credentials - Add credential files to
.gitignoreto prevent accidentally committing them to version control. - Use server-side only - Never expose your Auth Token in client-side code (browsers, mobile apps). All API calls should be made from your backend servers.
- Use HTTPS - Always make API requests over HTTPS. The Vobiz API does not support unencrypted HTTP connections.
- Rotate tokens regularly - Rotate your Auth Tokens periodically (every 90 days is recommended) to minimize the impact of a token compromise.
- Monitor API usage - Regularly review API logs in the Console to detect suspicious or unauthorized access patterns.
Rotating Auth Tokens
For security reasons, you should rotate your Auth Tokens periodically:Token Rotation Process
- Generate a new Auth Token in Settings → API Keys.
- Update your application to use the new token (keep the old one active).
- Deploy the updated application and verify it is working.
- Once confirmed, revoke the old token in the console.