Skip to main content
What are callbacks? When events occur in your Vobiz account (a call completing, a recording finishing, a conference ending), Vobiz automatically sends HTTP POST requests to your server with details about the event. This lets your application react to events in real time without polling.

How Vobiz Webhooks Work

1

Configure Callback URL

You provide a callback URL when creating resources (applications, trunks, calls, etc.).
2

Event Occurs

An event happens in your account (call ends, recording completes, etc.).
3

Vobiz Sends HTTP POST

Vobiz sends an HTTP POST request to your callback URL with event details.
4

Your Server Responds

Your server processes the callback and responds with HTTP 200 OK.

Example Callback Request

When a call ends, Vobiz sends a POST request to your callback URL:
POST Request to Your Callback URL

Example Server Response

Your server should respond with HTTP 200 to acknowledge receipt:
Your Server Response

Callback Events

Event=StartApp is what arrives at your answer_url, not Answer. This surprises most integrators on their first call.There is also no conference start or end event of any kind. Room lifecycle must be derived from the first ConferenceEnter and the last ConferenceExit.

Callback Parameters

Standard Parameters

All callback requests include these standard parameters:

Security Considerations

Always Use HTTPS

Important: Use HTTPS URLs for callback endpoints. This keeps your call data encrypted in transit.

Verify Callback Source

Every callback Vobiz sends is signed automatically with your account’s auth token - there is nothing to configure. The request headers carry X-Vobiz-Signature (V1, HMAC-SHA1) and X-Vobiz-Signature-V2 / X-Vobiz-Signature-V3 (HMAC-SHA256), plus their multi-account variants. V2 and V3 prove the request came from Vobiz; V1 additionally covers the callback parameters, so validate it too if you act on their values.

Validating Callbacks

Full validation guide with code examples in Python, Node.js, Go, and Ruby.

Best Practices

  • Respond quickly - Return HTTP 200 within 3 seconds. If processing takes longer, queue the callback for async processing and respond immediately.
  • Handle retries - Vobiz will retry failed callbacks (non-200 responses) up to 3 times with exponential backoff. Make your callback handlers idempotent to handle duplicate deliveries.
  • Log everything - Log all incoming callbacks with full payload for debugging. Include timestamps, event types, and processing results.
  • Monitor callback health - Track callback success/failure rates, response times, and set up alerts for failures. Monitor for missing callbacks as a sign of delivery issues.
  • Use separate endpoints - Consider using different callback URLs for different event types or resources to simplify routing and processing logic.