Skip to main content
POST
Send a test event

Authorizations

Authorization
string
header
required

Your workspace secret key, sk_live_ followed by 32 hex characters. Create one in the console under Developers.

Headers

Idempotency-Key
string

Up to 255 characters. The same key within 24 hours replays the first answer and creates nothing new. Build it from your own record, such as order-8842-reminder-1.

Maximum string length: 200

Path Parameters

webhook_endpoint_id
string
required

Body

application/json
event_type
enum<string>
required
Available options:
call.queued,
call.started,
call.completed,
call.failed,
call.aborted,
call.voicemail,
call.recording.ready,
call.analysis.completed,
call.analysis.failed,
call.analysis.skipped,
call.processed,
call.processing.completed,
campaign.started,
campaign.paused,
campaign.resumed,
campaign.completed,
campaign.stopped,
wallet.balance_low,
wallet.depleted,
wallet.balance_restored,
payment.succeeded,
payment.failed
if_revision
integer
required
Required range: x >= 1

Response

202 - application/json

Queued

attempts
integer
required
created_at
string<date-time>
required
cycle
integer
required
cycle_attempts
integer
required
deadline
string<date-time>
required
endpoint_id
string
required
endpoint_revision
integer
required
event_id
string
required
id
string
required
next_attempt_at
string<date-time>
required
object
string
required
revision
integer
required
state
string
required
subscription_ids
string[]
required
last_error
string
last_http_status
integer