Skip to main content
ScrubiMail

Webhooks

A webhook is a URL on your server that ScrubiMail calls when something happens to your email. Use it to update your own records on delivery, bounce or complaint without polling /send/status/.

Related:Email sending

Checked against the API source on

How it works

  • You add an endpoint (an https URL) and choose which events it receives, or all of them.
  • When an event happens, we send a POST with a JSON body to your URL, signed with your endpoint's secret.
  • Reply with any 2xx status within 10 seconds. Anything else, or no reply, is retried with a growing delay (see Retries).
  • Each event is sent to every enabled endpoint that subscribes to it, so two endpoints get two separate deliveries.

Create an endpoint

  1. In the dashboard

    Open Webhooks in the sidebar, choose Add webhook, enter the URL and pick the events. The signing secret is shown once when you create the endpoint. Copy it then. If you lose it, use Rotate secret.

  2. With the API

    POST /send/webhooks/ with url and, optionally, events. The response includes secret once. Managing webhooks with an API key needs the webhooks scope (a key with no scopes set can do everything).

    curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/" \
      -H "X-API-Key: $SCRUBIMAIL_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "url": "https://example.com/webhooks/scrubimail",
      "description": "Production",
      "events": [
        "email.delivered",
        "email.bounced"
      ]
    }'
Endpoint rules
RuleDetail
Protocolhttps only. Redirects are not followed, so give the final URL.
AddressThe host must resolve to a public IP address. URLs that resolve to private, loopback, link-local or reserved addresses are refused when you save the endpoint and again at delivery time.
Limit10 endpoints per account.
Secretwhsec_ followed by 32 characters. Shown in full on create and on rotate only; everywhere else you see the last four characters.

Event types

Events
typeSent when
email.sentA message was accepted by our mail server. Fires for API sends, campaign messages and mail submitted over SMTP.
email.deliveredThe recipient's mail server accepted the message.
email.delivery_delayedThe recipient's server answered with a temporary error. We keep retrying and send this once per message; a final email.delivered or email.bounced follows.
email.bouncedThe message could not be delivered. data.bounce has the type (hard or soft) and the server's reason.
email.complainedThe recipient marked the message as spam. The address is added to your suppression list.
email.failedThe message could not be handed to the sending service. Nothing was delivered.
email.openedThe recipient opened the message (open tracking).
email.clickedThe recipient clicked a tracked link.
domain.verifiedA sending domain became verified (SPF and DKIM both pass).
domain.failedA sending domain's first verification check failed, or a verified domain stopped passing. Repeated failed checks do not send it again.

Every event has the same envelope: id (also sent as the ScrubiMail-Event-Id header), type, created_at in UTC, and a data object. Email events share the fields below, plus the extras shown in each example. Treat unknown fields as additive and ignore them.

Fields in data for email events
FieldDescription
message_idThe id returned when you sent the message. Matches GET /send/status/{message_id}/.
toRecipient address.
fromFrom address.
subjectSubject as sent, after personalisation.
campaign_idCampaign id, or null for a single send.
statusMessage status at the time of the event.
tagsObject built from the tags you sent ({"welcome": true}), empty when none.

Example payloads

{
  "id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
  "type": "email.sent",
  "created_at": "2026-12-01T09:14:03Z",
  "data": {
    "message_id": "d4e5f6a7-2b3c-4d5e-9f01-a2b3c4d5e6f7",
    "to": "[email protected]",
    "from": "[email protected]",
    "subject": "Welcome, Ada!",
    "campaign_id": null,
    "status": "sending",
    "tags": {
      "welcome": true
    }
  }
}
{
  "id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
  "type": "email.delivery_delayed",
  "created_at": "2026-12-01T09:14:03Z",
  "data": {
    "message_id": "d4e5f6a7-2b3c-4d5e-9f01-a2b3c4d5e6f7",
    "to": "[email protected]",
    "from": "[email protected]",
    "subject": "Welcome, Ada!",
    "campaign_id": null,
    "status": "sending",
    "tags": {
      "welcome": true
    },
    "reason": "451 4.7.1 Greylisted, try again later"
  }
}
{
  "id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
  "type": "email.complained",
  "created_at": "2026-12-01T09:14:03Z",
  "data": {
    "message_id": "d4e5f6a7-2b3c-4d5e-9f01-a2b3c4d5e6f7",
    "to": "[email protected]",
    "from": "[email protected]",
    "subject": "Welcome, Ada!",
    "campaign_id": null,
    "status": "delivered",
    "tags": {
      "welcome": true
    },
    "complaint": {
      "type": "abuse"
    }
  }
}
{
  "id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
  "type": "domain.verified",
  "created_at": "2026-12-01T09:14:03Z",
  "data": {
    "domain_id": "a1b2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "domain": "yourcompany.com",
    "status": "active",
    "spf": true,
    "dkim": true,
    "dmarc": true
  }
}

Verify the signature

Anyone can POST to your URL, so check every request. Each delivery carries these headers:

Request headers
HeaderValue
ScrubiMail-Event-Idevt_ and 32 hex characters. The same value as id in the body.
ScrubiMail-Signaturet=<unix seconds>,v1=<hex signature>
Content-Typeapplication/json
User-AgentScrubiMail-Webhooks/1.0
  1. Read the raw body

    Sign the exact bytes you received. If your framework parses the JSON first, capture the raw body before it does; re-serialising changes the bytes and the check fails.

  2. Split the header

    Take t (the timestamp) and every v1 value. More than one v1 can appear while you rotate a secret.

  3. Compute the signature

    HMAC-SHA256, hex-encoded, with your full secret string (including whsec_) as the key and {t}.{raw body} as the message.

  4. Compare and check the age

    Compare with a constant-time function and accept if any v1 matches. Reject the request when t is more than 300 seconds from your clock, so a captured request cannot be replayed later.

import crypto from "node:crypto";
import express from "express";

const SECRET = process.env.SCRUBIMAIL_WEBHOOK_SECRET; // whsec_...
const app = express();

function verify(rawBody, header, secret, toleranceSeconds = 300) {
  const parts = Object.fromEntries(
    header.split(",").map((p) => [p.slice(0, p.indexOf("=")), p.slice(p.indexOf("=") + 1)])
  );
  const t = Number(parts.t);
  if (!t || Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false;
  const expected = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
  const signatures = header
    .split(",")
    .filter((p) => p.startsWith("v1="))
    .map((p) => p.slice(3));
  return signatures.some(
    (s) => s.length === expected.length && crypto.timingSafeEqual(Buffer.from(s), Buffer.from(expected))
  );
}

// express.raw keeps the body as a Buffer, exactly as received.
app.post("/webhooks/scrubimail", express.raw({ type: "application/json" }), (req, res) => {
  const raw = req.body.toString("utf8");
  if (!verify(raw, req.get("ScrubiMail-Signature") ?? "", SECRET)) return res.sendStatus(400);
  const event = JSON.parse(raw);
  // Handle event.type here. Reply fast; do slow work in a queue.
  res.sendStatus(200);
});

Retries and timeouts

A delivery succeeds on any 2xx response. A timeout, a connection error, a 3xx, 4xx or 5xx counts as a failed attempt. We wait 10 seconds for a response and do not follow redirects. Failed attempts are retried up to 6 attempts in total:

Attempt schedule
AttemptWhen
1Right away
230 seconds after attempt 1 failed
35 minutes after attempt 2
430 minutes after attempt 3
52 hours after attempt 4
68 hours after attempt 5. If this fails the delivery is marked failed.

A failed delivery stays in the endpoint's delivery list for 30 days, with the last HTTP status and error, and you can retry it from the dashboard or with the retry endpoint. Disabling or deleting an endpoint stops pending retries.

Handle events safely

  • Deduplicate on the event id. Retries, and manual retries, resend the same event with the same id. Store the ids you have processed and skip repeats, or make your handler safe to run twice.
  • Do not rely on order. email.delivered can arrive before a retried email.sent. Use created_at and the message status when order matters.
  • Reply quickly. Return 200 as soon as the event is stored or queued, and do the slow work afterwards. A handler that takes longer than 10 seconds is retried.
  • Verify before you trust. Check the signature and the timestamp on every request, and return 400 when they do not match.
  • Keep the secret on the server. Never put it in browser code or a repository.

Test locally

  1. Expose your local server

    ScrubiMail only calls public https URLs, so localhost will not work. Run a tunnel such as ngrok http 3000 or cloudflared tunnel --url http://localhost:3000 and use the https address it prints as the endpoint URL.

  2. Send a test event

    Choose Send test next to the endpoint in the dashboard, or call the test endpoint. You receive a signed email.delivered event with "test": true in data.

    curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f/test/" \
      -H "X-API-Key: $SCRUBIMAIL_API_KEY"
  3. Inspect the delivery

    The endpoint's deliveries list shows the payload we sent, the HTTP status you returned and any error, so you can see why a verification failed.

API reference

  • Base path: https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/. Authenticate with X-API-Key; the key needs the webhooks scope unless it has no scopes set.
  • Webhooks are scoped to your account. You cannot see or change another account's endpoints.
  • The list endpoint returns {count, next, previous, results}, 20 items per page.

List webhooks

GET/send/webhooks/
Scope: webhooks

Your webhook endpoints, newest change first. The signing secret is never included; secret_hint shows the last four characters.

Request

curl -X GET "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY"

Response

200 OK
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": "9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f",
      "url": "https://example.com/webhooks/scrubimail",
      "description": "Production",
      "events": [
        "email.delivered",
        "email.bounced"
      ],
      "enabled": true,
      "secret_hint": "whsec_…k3Ds",
      "last_delivery": {
        "status": "succeeded",
        "event_type": "email.delivered",
        "status_code": 200,
        "created_at": "2026-12-01T09:14:03Z"
      },
      "updated_at": "2026-12-01T09:00:00Z"
    }
  ]
}

Errors

List webhooks: errors
StatusCodeWhen
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

Create a webhook

POST/send/webhooks/
Scope: webhooks

Adds an endpoint. The response is the only time besides rotating that the full secret is returned; store it now. You can have up to 10 endpoints.

Body

Create a webhook: Body
NameTypeRequiredDescription
urlstringYesWhere to send events. https only, and the host must resolve to a public address.
descriptionstringNoA note for yourself, up to 255 characters.
eventsstring[]NoEvent types to receive. Empty or omitted means all events, including ones added later.
enabledbooleanNoDefault true. A disabled endpoint receives nothing.

Request

curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com/webhooks/scrubimail",
  "description": "Production",
  "events": [
    "email.delivered",
    "email.bounced"
  ]
}'

Response

201 Created
{
  "id": "9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f",
  "url": "https://example.com/webhooks/scrubimail",
  "description": "Production",
  "events": [
    "email.delivered",
    "email.bounced"
  ],
  "enabled": true,
  "secret_hint": "whsec_…k3Ds",
  "last_delivery": null,
  "updated_at": "2026-12-01T09:00:00Z",
  "secret": "whsec_Qm3xT9b7LrV2nKp8ZcYd5HwEa1sUf0Jg"
}

Errors

Create a webhook: errors
StatusCodeWhen
400validation_errorThe URL is not https, does not resolve, or points to a private address; an event type is unknown; or you already have 10 endpoints ({"error": "..."}).
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

Get a webhook

GET/send/webhooks/{id}/
Scope: webhooks

One endpoint, with secret_hint instead of the secret.

Request

curl -X GET "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY"

Response

200 OK
{
  "id": "9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f",
  "url": "https://example.com/webhooks/scrubimail",
  "description": "Production",
  "events": [
    "email.delivered",
    "email.bounced"
  ],
  "enabled": true,
  "secret_hint": "whsec_…k3Ds",
  "last_delivery": {
    "status": "succeeded",
    "event_type": "email.delivered",
    "status_code": 200,
    "created_at": "2026-12-01T09:14:03Z"
  },
  "updated_at": "2026-12-01T09:00:00Z"
}

Errors

Get a webhook: errors
StatusCodeWhen
404not_foundThe webhook does not exist or belongs to another account.
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

Update a webhook

PATCH/send/webhooks/{id}/
Scope: webhooks

Changes any of url, description, events and enabled. Send only the fields you want to change.

Body

Update a webhook: Body
NameTypeRequiredDescription
urlstringYesWhere to send events. https only, and the host must resolve to a public address.
descriptionstringNoA note for yourself, up to 255 characters.
eventsstring[]NoEvent types to receive. Empty or omitted means all events, including ones added later.
enabledbooleanNoDefault true. A disabled endpoint receives nothing.

Request

curl -X PATCH "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "enabled": false
}'

Response

200 OK
{
  "id": "9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f",
  "url": "https://example.com/webhooks/scrubimail",
  "description": "Production",
  "events": [
    "email.delivered",
    "email.bounced"
  ],
  "enabled": false,
  "secret_hint": "whsec_…k3Ds",
  "last_delivery": {
    "status": "succeeded",
    "event_type": "email.delivered",
    "status_code": 200,
    "created_at": "2026-12-01T09:14:03Z"
  },
  "updated_at": "2026-12-01T09:00:00Z"
}

Errors

Update a webhook: errors
StatusCodeWhen
400validation_errorA field is invalid.
404not_foundThe webhook does not exist or belongs to another account.
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

Delete a webhook

DELETE/send/webhooks/{id}/
Scope: webhooks

Deletes the endpoint and its delivery history. Retries still queued for it are dropped.

Request

curl -X DELETE "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY"

Response

No body.

204 No Content, empty body

Errors

Delete a webhook: errors
StatusCodeWhen
404not_foundThe webhook does not exist or belongs to another account.
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

Rotate the signing secret

POST/send/webhooks/{id}/rotate-secret/
Scope: webhooks

Generates a new secret and returns it once. The old secret stops being used for new deliveries at once, so deploy the new one first or accept a short window of failed signature checks.

Request

curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f/rotate-secret/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY"

Response

200 OK
{
  "id": "9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f",
  "url": "https://example.com/webhooks/scrubimail",
  "description": "Production",
  "events": [
    "email.delivered",
    "email.bounced"
  ],
  "enabled": true,
  "secret_hint": "whsec_…Hq7B",
  "last_delivery": {
    "status": "succeeded",
    "event_type": "email.delivered",
    "status_code": 200,
    "created_at": "2026-12-01T09:14:03Z"
  },
  "updated_at": "2026-12-01T09:00:00Z",
  "secret": "whsec_Zr4nB8w2KxP6mTq1YcDv9LsEj3UhF5Ha"
}

Errors

Rotate the signing secret: errors
StatusCodeWhen
404not_foundThe webhook does not exist or belongs to another account.
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

Send a test event

POST/send/webhooks/{id}/test/
Scope: webhooks

Queues a sample email.delivered event with "test": true in data. It is signed and delivered like any other event, and works even when the endpoint is disabled. Check the result in the deliveries list.

Request

curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f/test/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY"

Response

202 Accepted
{
  "id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
  "event_id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
  "event_type": "email.delivered",
  "status": "pending",
  "attempts": 0,
  "last_status_code": null,
  "last_error": "",
  "next_attempt_at": null,
  "delivered_at": null,
  "created_at": "2026-12-01T09:14:03Z",
  "payload": {
    "id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
    "type": "email.delivered",
    "created_at": "2026-12-01T09:14:03Z",
    "data": {
      "message_id": "d4e5f6a7-2b3c-4d5e-9f01-a2b3c4d5e6f7",
      "to": "[email protected]",
      "status": "delivered"
    }
  }
}

Errors

Send a test event: errors
StatusCodeWhen
404not_foundThe webhook does not exist or belongs to another account.
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

List deliveries

GET/send/webhooks/{id}/deliveries/
Scope: webhooks

Delivery attempts for one endpoint, newest first, 20 per page (page, page_size up to 100). Each item includes the full payload. Deliveries are kept for 30 days.

Query

List deliveries: Query
NameTypeRequiredDescription
pageintegerNoPage number, starting at 1.
page_sizeintegerNoItems per page, up to 100.

Request

curl -X GET "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f/deliveries/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY"

Response

200 OK
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
      "event_id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
      "event_type": "email.delivered",
      "status": "succeeded",
      "attempts": 1,
      "last_status_code": 200,
      "last_error": "",
      "next_attempt_at": null,
      "delivered_at": "2026-12-01T09:14:04Z",
      "created_at": "2026-12-01T09:14:03Z",
      "payload": {
        "id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
        "type": "email.delivered",
        "created_at": "2026-12-01T09:14:03Z",
        "data": {
          "message_id": "d4e5f6a7-2b3c-4d5e-9f01-a2b3c4d5e6f7",
          "to": "[email protected]",
          "status": "delivered"
        }
      }
    }
  ]
}

Errors

List deliveries: errors
StatusCodeWhen
404not_foundThe webhook does not exist or belongs to another account.
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

Retry a delivery

POST/send/webhooks/{id}/deliveries/{delivery_id}/retry/
Scope: webhooks

Queues a failed (or succeeded) delivery again, with the same event id and payload, and a fresh attempt count and signature timestamp.

Request

curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/9f0e1d2c-3b4a-4c5d-8e6f-7a8b9c0d1e2f/deliveries/5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d/retry/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY"

Response

202 Accepted
{
  "id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
  "event_id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
  "event_type": "email.delivered",
  "status": "pending",
  "attempts": 0,
  "last_status_code": null,
  "last_error": "",
  "next_attempt_at": null,
  "delivered_at": null,
  "created_at": "2026-12-01T09:14:03Z",
  "payload": {
    "id": "evt_3f1c9a2b7d4e4f60a1b2c3d4e5f60718",
    "type": "email.delivered",
    "created_at": "2026-12-01T09:14:03Z",
    "data": {
      "message_id": "d4e5f6a7-2b3c-4d5e-9f01-a2b3c4d5e6f7",
      "to": "[email protected]",
      "status": "delivered"
    }
  }
}

Errors

Retry a delivery: errors
StatusCodeWhen
400-{"error": "This delivery is still being retried."}: it is still pending.
404not_foundThe webhook does not exist or belongs to another account.
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

List event types

GET/send/webhooks/event-types/
Scope: webhooks

Every event type you can subscribe to, with a one-line description.

Request

curl -X GET "https://api.scrubimail.com/scrubimail/api/v1/send/webhooks/event-types/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY"

Response

200 OK
[
  {
    "type": "email.sent",
    "description": "The message was accepted by our mail server for delivery."
  },
  {
    "type": "email.delivered",
    "description": "The recipient's mail server accepted the message."
  }
]

Errors

List event types: errors
StatusCodeWhen
401authentication_requiredNo API key was sent. The response carries a WWW-Authenticate header.
401invalid_credentialsThe key is unknown, inactive, expired, or the request IP is not on the key's allow-list.
403permission_deniedThe key has scopes set and webhooks is not one of them.

Something missing or wrong? Email [email protected].