Nylas · Schema

Nylas notification envelope

All Nylas webhook notifications use the [CloudEvents](https://cloudevents.io/) envelope format. The envelope fields are the same for every notification type — the `data.object` structure varies by trigger.

CalendarCommunicationsContactsEmailMessagingSchedulingA2A

Properties

Name Type Description
specversion string CloudEvents specification version. Always `1.0`.
type string The notification trigger name (e.g. `grant.expired`, `message.created`). Matches the trigger you subscribed to when creating the webhook.
source string Origin of the event, generally in `///` format. Common values include `/google/emails/realtime`, `/google/emails/historic`, `/google/emails/incremental`, `/microsoft/emai
id string Unique notification ID. Use this for deduplication — Nylas guarantees at-least-once delivery, so you may receive the same notification more than once.
time integer Unix timestamp (seconds) when the event occurred.
webhook_delivery_attempt integer Which delivery attempt this is. `1` on the first try, up to `3` if previous attempts failed.
data object Container for the notification payload.
View JSON Schema on GitHub

JSON Schema

nylas-notification-envelope.schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nylas/refs/heads/main/json-schema/nylas-notification-envelope.schema.json",
  "title": "Nylas notification envelope",
  "type": "object",
  "description": "All Nylas webhook notifications use the [CloudEvents](https://cloudevents.io/) envelope format. The envelope fields are the same for every notification type \u2014 the `data.object` structure varies by trigger.",
  "properties": {
    "specversion": {
      "type": "string",
      "description": "CloudEvents specification version. Always `1.0`.",
      "example": "1.0"
    },
    "type": {
      "type": "string",
      "description": "The notification trigger name (e.g. `grant.expired`, `message.created`). Matches the trigger you subscribed to when creating the webhook."
    },
    "source": {
      "type": "string",
      "description": "Origin of the event, generally in `/<provider>/<product>/<sync_type>` format. Common values include `/google/emails/realtime`, `/google/emails/historic`, `/google/emails/incremental`, `/microsoft/emails/realtime`, `/google/events/incremental`, `/google/contacts/incremental`, `/nylas/system` (grants), `/nylas/send` (message send), `/nylas/passthru` (scheduler), `/nylas/notetaker` (notetaker), and `/com/nylas/tracking` (message tracking)."
    },
    "id": {
      "type": "string",
      "description": "Unique notification ID. Use this for deduplication \u2014 Nylas guarantees at-least-once delivery, so you may receive the same notification more than once."
    },
    "time": {
      "type": "integer",
      "description": "Unix timestamp (seconds) when the event occurred."
    },
    "webhook_delivery_attempt": {
      "type": "integer",
      "description": "Which delivery attempt this is. `1` on the first try, up to `3` if previous attempts failed.",
      "minimum": 1,
      "maximum": 3
    },
    "data": {
      "type": "object",
      "description": "Container for the notification payload.",
      "properties": {
        "application_id": {
          "type": "string",
          "description": "Your Nylas application ID."
        },
        "object": {
          "type": "object",
          "description": "The affected resource. Structure varies by trigger type \u2014 see individual schemas below."
        }
      }
    }
  },
  "required": [
    "specversion",
    "type",
    "source",
    "id",
    "time",
    "data"
  ],
  "x-provenance": {
    "method": "authored",
    "publisher": "Nylas",
    "source": "https://developer.nylas.com/docs/reference/notifications/",
    "derived_from": "nylas/developer.nylas.com@a7995fb6:src/_component-data/notification-schemas.json",
    "generated": "2026-09-28"
  }
}

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/nylas-notification-envelope.schema"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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