Pular para o conteúdo principal
POST
Enviar evento de teste

Autorizações

Authorization
string
header
obrigatório

API key criada nas configurações da organização.

Cabeçalhos

Idempotency-Key
string

Chave única da operação, de 1 a 255 caracteres (um UUID, por exemplo). Repetir a mesma chave com o mesmo corpo em até 24 horas devolve a resposta original em vez de executar de novo.

Parâmetros de caminho

endpoint_id
string
obrigatório

ID do endpoint (wep_…).

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

Corpo

application/json
type
enum<string>
padrão:email.delivered
Opções disponíveis:
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

Resposta

A entrega, com o corpo enviado e as tentativas.

object
enum<string>
obrigatório
Opções disponíveis:
webhook_delivery
id
string
obrigatório
endpoint_id
string
obrigatório
event_id
string
obrigatório
event_type
string
obrigatório
status
enum<string>
obrigatório
Opções disponíveis:
pending,
succeeded,
failed
attempts
integer
obrigatório
next_attempt_at
string<date-time> | null
obrigatório
last_attempt_at
string<date-time> | null
obrigatório
last_response_status
integer | null
obrigatório
last_error_code
string | null
obrigatório

Também endpoint_disabled ou endpoint_deleted, quando o endpoint saiu do ar com a entrega pendente.

succeeded_at
string<date-time> | null
obrigatório
created_at
string<date-time>
obrigatório
event
object
obrigatório

O corpo que cada endpoint recebe.

attempt_log
object[]
obrigatório