Skip to main content

Webhooks

Use webhooks when your backend should react to call lifecycle, recordings, delivery failures, etc. You register an HTTPS URL, subscribe to events, verify each POST, and acknowledge with 2xx quickly so Kallglot stops retrying.

How Webhooks Work

Setting Up Webhooks

1. Create a Webhook Endpoint

Create your developer account at kallglot.com, then create a webhook endpoint in the Developer Portal:
  1. Go to Webhooks > Add Endpoint
  2. Enter your endpoint URL (must be HTTPS)
  3. Select which events to receive
  4. Save and copy the signing secret

2. Configure Your Server

Set up an endpoint to receive webhook events:

3. Test Your Endpoint

Use the Developer Portal to send test events to your endpoint before going live.

Event Structure

All webhook events follow this structure:

Event Categories

Session Events

Transcript Events

Recording Events

Analysis Events

Provider Events

Endpoint Requirements

Your webhook endpoint must:
  • Accept HTTPS POST requests
  • Respond within 30 seconds
  • Return a 2xx status code on success
  • Be publicly accessible (no localhost)
If your endpoint returns a non-2xx status or times out, Kallglot will retry the webhook. See Retry Policy for details.

Best Practices

Process webhooks asynchronously. Return a 200 response immediately, then process the event in a background job.
The same event may be delivered multiple times. Use the id field to deduplicate:
Always verify webhook signatures to ensure events are from Kallglot. See Signatures.
Log incoming webhooks for debugging and audit purposes:
Check the Developer Portal for webhook delivery status and failures. Set up alerts for repeated failures.

Testing Webhooks

Using the Developer Portal

  1. Go to Webhooks > select your endpoint
  2. Click Send Test Event
  3. Choose an event type
  4. View the delivery log

Using ngrok for Local Development

Using the CLI