Every callback Vobiz sends to your endpoint includes HMAC signatures in the request headers. Validating these signatures proves the request came from Vobiz and was not tampered with in transit.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.
Your auth token is the signing key. Vobiz uses your account’s auth token (visible in the Vobiz Console) to sign each callback. Keep it secret — anyone who has it can forge valid signatures.
Signature headers
Vobiz sends the following headers with every callback:| Header | Description |
|---|---|
X-Vobiz-Signature | V1 — HMAC-SHA1, base64-encoded (legacy, included for backwards compatibility) |
X-Vobiz-Signature-V2 | V2 — HMAC-SHA256, base64-encoded |
X-Vobiz-Signature-V2-Nonce | Random 20-digit nonce used to produce the V2 signature |
X-Vobiz-Signature-MA-V2 | V2 signed with the parent (main) account auth token — present for sub-account callbacks |
X-Vobiz-Signature-V3 | V3 — HMAC-SHA256, base64-encoded |
X-Vobiz-Signature-V3-Nonce | Random 20-digit nonce used to produce the V3 signature |
X-Vobiz-Signature-MA-V3 | V3 signed with the parent (main) account auth token — present for sub-account callbacks |
How signatures are computed
V2 signature
- Take your callback URL and strip all query parameters to get the base URL (e.g.
https://your-domain.com/webhook). - Concatenate:
baseURL + nonce(where nonce is the value ofX-Vobiz-Signature-V2-Nonce). - Compute
HMAC-SHA256of that string using your auth token as the key. - Base64-encode the result.
V3 signature
Identical to V2 except the nonce is joined to the base URL with a. separator:
Multi-account (MA) variants
For callbacks on sub-accounts, Vobiz additionally signs with the parent account’s auth token and sends the result inX-Vobiz-Signature-MA-V2 / X-Vobiz-Signature-MA-V3. The algorithm is identical — only the key differs. This lets you verify callbacks using either the sub-account or the main account auth token.
Validation examples
Sub-account callbacks
If your Vobiz account uses sub-accounts, callback requests include both the sub-account signature and the parent (main) account signature. You can validate using either auth token.| Header | Signed with |
|---|---|
X-Vobiz-Signature-V2 | Sub-account auth token |
X-Vobiz-Signature-MA-V2 | Parent account auth token |
X-Vobiz-Signature-V3 | Sub-account auth token |
X-Vobiz-Signature-MA-V3 | Parent account auth token |
Best practices
- Validate on every request. Reject any callback missing the signature headers with HTTP 403.
- Use HTTPS. Plaintext HTTP exposes the nonce and signature, which an attacker could replay before you process the request.
- Check the nonce is fresh (optional but recommended). Nonces are randomly generated per request, not time-based, so replay protection requires you to store and check seen nonces for a short window (e.g. 5 minutes).
- Prefer V2 or V3 over V1. V1 uses HMAC-SHA1, which is weaker than SHA-256.
- Rotate your auth token if compromised. Rotating your auth token immediately invalidates all signatures computed with the old key.
Callbacks overview
Understand how Vobiz delivers callbacks and what parameters to expect.
Callback configurations
Configure callback URLs, methods, and retry behaviour for your applications.