Skip to main content
POST
Send a test event

Authorizations

Authorization
string
header
required

API key created in the organization settings.

Headers

Idempotency-Key
string

Unique key for the operation, 1 to 255 characters (a UUID, for example). Repeating the same key with the same body within 24 hours returns the original response instead of running it again.

Path Parameters

endpoint_id
string
required

Endpoint ID (wep_…).

Pattern: ^wep_[A-Za-z0-9_-]+$

Body

application/json
type
enum<string>
default:email.delivered
Available options:
email.delivered,
email.opened,
email.clicked,
email.bounced,
email.complained,
contact.unsubscribed,
customer.created,
whatsapp.message.delivered,
whatsapp.message.read,
whatsapp.message.replied,
purchase.created,
order.created,
order.paid,
order.fulfilled,
order.cancelled

Response

The delivery, with the body sent and the attempts.

object
enum<string>
required
Available options:
webhook_delivery
id
string
required
endpoint_id
string
required
event_id
string
required
event_type
string
required
status
enum<string>
required
Available options:
pending,
succeeded,
failed
attempts
integer
required
next_attempt_at
string<date-time> | null
required
last_attempt_at
string<date-time> | null
required
last_response_status
integer | null
required
last_error_code
string | null
required

Also endpoint_disabled or endpoint_deleted, when the endpoint went away with the delivery pending.

succeeded_at
string<date-time> | null
required
created_at
string<date-time>
required
event
object
required

The body every endpoint receives.

attempt_log
object[]
required