Skip to main content
POST

Request

Create a new webhook endpoint to receive real-time events from Ringyo AI.

Headers

string
required
Bearer token for authentication. Format: Bearer YOUR_API_KEY
string
required
Must be application/json

Body Parameters

string
required
The HTTPS URL to receive webhook events
array
required
Array of event types to subscribe to. Use ["*"] for all events.Available events:
  • call.started - Call has been initiated
  • call.ringing - Call is ringing
  • call.answered - Call was answered
  • call.completed - Call ended successfully
  • call.failed - Call failed
  • call.recording.ready - Recording is available
  • call.transcript.ready - Transcript is available
  • agent.created - New agent created
  • agent.updated - Agent was updated
  • agent.deleted - Agent was deleted
string
A secret key for signing webhook payloads. Auto-generated if not provided.
string
A description for this webhook endpoint
object
Custom key-value pairs for your reference

Response

string
Unique identifier for the webhook
string
The webhook URL
array
Subscribed event types
string
The webhook signing secret (only shown on creation)
string
Webhook status: active, inactive, failing
string
ISO 8601 timestamp

Verifying Webhooks

Use the secret to verify incoming webhooks:

Error Codes