Skip to main content

Overview

Webhooks send real-time HTTP notifications when events occur in your Graine AI account.

Supported Events

  • Call started
  • Call ended
  • Call failed
  • Transcript updated
  • Campaign progress
  • Agent status changes

Configuration

1

Get Webhook URL

Set up an endpoint to receive webhook notifications
2

Configure in Platform

Add your webhook URL in agent or campaign settings
3

Verify Signature

Implement signature verification for security
4

Handle Events

Process incoming webhook payloads

Webhook Platforms

Make

Integromat workflows

n8n

Workflow automation

Custom

Your own server

Payload Example

{
  "event": "call.ended",
  "call_id": "call_123",
  "agent_id": "agent_456",
  "status": "completed",
  "duration": 180,
  "transcript": "..."
}

Best Practices

  • Implement retry logic
  • Verify webhook signatures
  • Respond with 200 OK quickly
  • Process data asynchronously
  • Log all webhook events

Next Steps

API Documentation

Explore the full API