Nylas · Schema

Nylas grant.created notification object

Sent when a user successfully authenticates with your Nylas application for the first time. This schema describes `data.object` inside the Nylas notification envelope.

CalendarCommunicationsContactsEmailMessagingSchedulingA2A

Properties

Name Type Description
code integer Nylas notification code.
grant_id string Unique identifier for the grant.
integration_id string Identifier for the connector (integration) used to create this grant.
login_id string Identifier for the login session that created this grant. Only present for hosted auth flows.
provider string Email provider for this grant.
email string Email address associated with the grant.
name string Display name of the grant owner. Absent when the provider does not return a display name.
scope array OAuth scopes granted during authentication.
View JSON Schema on GitHub

JSON Schema

nylas-grant-created.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-grant-created.schema.json",
  "title": "Nylas grant.created notification object",
  "description": "Sent when a user successfully authenticates with your Nylas application for the first time. This schema describes `data.object` inside the Nylas notification envelope.",
  "type": "object",
  "required": [],
  "properties": {
    "code": {
      "type": "integer",
      "description": "Nylas notification code."
    },
    "grant_id": {
      "type": "string",
      "description": "Unique identifier for the grant."
    },
    "integration_id": {
      "type": "string",
      "description": "Identifier for the connector (integration) used to create this grant."
    },
    "login_id": {
      "type": "string",
      "description": "Identifier for the login session that created this grant. Only present for hosted auth flows."
    },
    "provider": {
      "type": "string",
      "description": "Email provider for this grant.",
      "enum": [
        "google",
        "microsoft",
        "imap",
        "yahoo",
        "icloud",
        "ews",
        "eas"
      ]
    },
    "email": {
      "type": "string",
      "description": "Email address associated with the grant."
    },
    "name": {
      "type": "string",
      "description": "Display name of the grant owner. Absent when the provider does not return a display name."
    },
    "scope": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "OAuth scopes granted during authentication."
    }
  },
  "x-nylas-trigger": "grant.created",
  "x-nylas-category": "Grants",
  "x-provenance": {
    "method": "authored",
    "publisher": "Nylas",
    "source": "https://developer.nylas.com/docs/reference/notifications/grants/grant-created/",
    "derived_from": "nylas/developer.nylas.com@a7995fb6:src/_component-data/notification-schemas.json",
    "generated": "2026-09-28"
  },
  "examples": [
    {
      "code": 25012,
      "grant_id": "<NYLAS_GRANT_ID>",
      "integration_id": "<NYLAS_INTEGRATION_ID>",
      "login_id": "<LOGIN_ID>",
      "provider": "google",
      "email": "user@example.com",
      "name": "John Doe",
      "scope": [
        "https://www.googleapis.com/auth/gmail.readonly",
        "https://www.googleapis.com/auth/calendar"
      ]
    }
  ]
}

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-grant-created.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.