Properties
| Name | Type | Description |
|---|---|---|
| trigger_type | string | The event that will trigger the mock notification. See the [notification schemas](/docs/reference/notifications/) for details about each trigger type. See the [Grants](/docs/reference/api/manage-grant |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/nylas/main/json-schema/nylas-get-mock-payload-input-schema.json",
"title": "Input Payload",
"x-generated": "2026-10-02",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/nylas-pub-sub-notifications-api-openapi.yml#/components/schemas/get_mock_payload_input",
"type": "object",
"required": [
"trigger_type",
"webhook_url"
],
"properties": {
"trigger_type": {
"type": "string",
"enum": [
"calendar.created",
"calendar.updated",
"calendar.deleted",
"event.created",
"event.updated",
"event.deleted",
"grant.created",
"grant.updated",
"grant.deleted",
"grant.expired",
"message.send_success",
"message.send_failed",
"message.bounce_detected",
"message.created",
"message.created.truncated",
"message.created.cleaned",
"message.updated",
"message.updated.truncated",
"contact.updated",
"contact.deleted",
"folder.created",
"folder.updated",
"folder.deleted",
"message.opened",
"message.link_clicked",
"thread.replied"
],
"description": "The event that will trigger the mock notification. See the\n[notification schemas](/docs/reference/notifications/) for details about each\ntrigger type.\n\nSee the [Grants](/docs/reference/api/manage-grants/), [Calendar](/docs/reference/api/calendar/),\n[Events](/docs/reference/api/events/), and [Messages](/docs/reference/api/messages/) references\nfor information on how to trigger each event type.\n\nYou can test `message.created.truncated` and `message.updated.truncated` notifications using this\nendpoint. For more information, see\n[Truncated webhooks](/docs/v3/notifications/#truncated-webhooks)."
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/nylas-get-mock-payload-input"
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.