Ir al contenido

Send a test event now

POST/tenant/webhook/testProbar

La llamada la hace tu navegador, contra el servidor que elijas arriba. Si la documentación no está servida desde el mismo origen que la API, el navegador puede bloquear la respuesta por CORS: en ese caso abre estas páginas desde la propia API (/docs) o usa el curl de arriba.

POST
/tenant/webhook/test
curl --request POST \
--url http://localhost:3000/v1/tenant/webhook/test \
--header 'x-api-key: <x-api-key>'

Delivers a signed webhook.test to your URL and returns what your server answered: HTTP status, latency and the network error, if any. It saves you from finding out your webhook doesn’t work on the day you move money. Scope tenant:write or webhooks:write.

It doesn’t go through the event queue: it isn’t retried and doesn’t show up in GET /v1/events.

Resultado del intento de entrega

Media typeapplication/json
object
url
string
delivered
boolean
statusCode
integer
nullable
durationMs
integer
error
string
nullable
hint
string
Examplegenerated
{
"url": "example",
"delivered": true,
"statusCode": 1,
"durationMs": 1,
"error": "example",
"hint": "example"
}

No hay webhook registrado todavía (webhook_not_configured).