Send a test event

Queue a webhook.test event to the webhook's saved URL, signed like a real event.

POSThttps://app.usenotix.dev/api/v1/webhooks/{webhookId}/test

Needs a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.

Queue a webhook.test event to the webhook's saved URL, signed like a real event. The answer is 202 with the callId; read the call to see how your endpoint answered. The request takes no URL: a test only ever goes to the URL saved on the webhook. A team can send 10 test events a minute.

Who can call it

A full access key created by a team admin, as on the dashboard. Every refusal is 403:

CodeWhy
SCOPE_DENIEDThe key is not a full access key (send-only, read-only or live AI).
DOMAIN_PINNEDThe key is limited to one domain. A webhook receives the events of every domain.
FORBIDDENThe key was made by a team member without admin rights, or before Notix recorded who made each key. Create a new key as a team admin.

Adding a webhook, pointing one at a new URL or removing one emails the team's owner and admins, naming the key.

Path parameters

webhookIdstringrequired

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

403

`SCOPE_DENIED`: the key is not a full access key (send-only, read-only or live AI). `DOMAIN_PINNED`: the key is limited to one domain. `FORBIDDEN`: the key was made by a team member without admin rights, or before Notix recorded who made each key (create a new key).

404

No webhook with this id for the calling team.

429

The team sent 10 test events in the last minute.

Every error has the same shape. See all error codes.

curl -X POST "https://app.usenotix.dev/api/v1/webhooks/<webhookId>/test" \
  -H "Authorization: Bearer $NOTIX_API_KEY"
Response202
{
  "callId": "cm1x8f3k20001qz7v5b9d2e4a"
}
Open in ClaudeOpen in ChatGPT