Send a test event
POST/v1/webhooks/{webhook_id}/test
- Scope
webhooks:manage
Delivers a webhook.test event to the webhook, signed and retried like any other.
Parameters
Path
webhook_idstringrequiredThe webhook (
whk_…).
Response
202 AcceptedQueued.
oktruerequireddelivery_idstringrequiredevent_idstringrequired
Errors
| Status | Code | Means |
|---|---|---|
| 400 | validation_failed | A field is missing or invalid. |
| 401 | unauthorized | The API key is missing, unknown or revoked. |
| 403 | insufficient_scope | The API key lacks the scope this needs. |
| 404 | not_found | No such object, or the key can't see it. |
Every error is { "error": { "code", "message" } }. All error codes.