Anjal · Schema

WebhookEvent

Payloads for the newer events: - `message.received.spam`: inbound mail the spam filter flagged. It is stored but does not fire `message.received`. - `message.sent`: includes `labels`. - `message.delivered`: `{ messageId, inboxId, recipients, timestamp, smtpResponse }`. The recipient's mail server accepted it; not a guarantee of inbox placement. - `message.rejected`: `{ messageId, inboxId, reason, recipients, timestamp }`. The provider refused to send it (e.g. a suppressed address). - `message.opened`: `{ messageId, inboxId, threadId, to, subject, openedAt, userAgent }`. First open of a send with `trackOpens: true`. A hint, not proof. - `draft.send_failed`: `{ draftId, inboxId, error, code }`. A scheduled draft could not be sent; it is kept with `sendError` set. - `domain.verified`: `{ domainId, domain, workspaceId, sharedWith, verifiedAt }`. Fired when `GET /v1/domains/{domain}/verify` first sees the domain verified.

EmailArtificial IntelligenceAgentsSoftware-as-a-ServiceEmail API
View JSON Schema on GitHub

JSON Schema

anjal-app-webhook-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anjal-app/json-schema/anjal-app-webhook-event-schema.json",
  "title": "WebhookEvent",
  "description": "Payloads for the newer events:\n\n- `message.received.spam`: inbound mail the spam filter flagged. It is\n  stored but does not fire `message.received`.\n- `message.sent`: includes `labels`.\n- `message.delivered`: `{ messageId, inboxId, recipients, timestamp, smtpResponse }`.\n  The recipient's mail server accepted it; not a guarantee of inbox placement.\n- `message.rejected`: `{ messageId, inboxId, reason, recipients, timestamp }`.\n  The provider refused to send it (e.g. a suppressed address).\n- `message.opened`: `{ messageId, inboxId, threadId, to, subject, openedAt, userAgent }`.\n  First open of a send with `trackOpens: true`. A hint, not proof.\n- `draft.send_failed`: `{ draftId, inboxId, error, code }`. A scheduled\n  draft could not be sent; it is kept with `sendError` set.\n- `domain.verified`: `{ domainId, domain, workspaceId, sharedWith, verifiedAt }`.\n  Fired when `GET /v1/domains/{domain}/verify` first sees the domain verified.\n",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anjal-app-openapi.yaml#/components/schemas/WebhookEvent",
  "type": "string",
  "enum": [
    "message.received",
    "message.received.spam",
    "message.sent",
    "message.delivered",
    "message.bounced",
    "message.complained",
    "message.rejected",
    "message.opened",
    "draft.send_failed",
    "domain.verified",
    "message.suspicious",
    "message.quarantined",
    "calendar.invite.received",
    "calendar.invite.replied",
    "calendar.invite.cancelled",
    "calendar.invite.countered",
    "account.suspended",
    "account.payment_failed",
    "account.subscription_ended"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/anjal-app-webhook-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.