Novu · Schema

SubscriberPayloadDto

JSON Schema for Novu SubscriberPayloadDto.

NotificationMessagingIn-AppEmailSMSPushChatWorkflowsOpen-SourceSubscribersTopicsInboxWorkflow OrchestrationMulti-ChannelDigestMCPFrameworkReact

Properties

Name Type Description
firstName stringnull First name of the subscriber
lastName stringnull Last name of the subscriber
email stringnull Email address of the subscriber
phone stringnull Phone number of the subscriber
avatar stringnull Avatar URL or identifier
locale stringnull Locale of the subscriber
timezone stringnull Timezone of the subscriber
data objectnull Additional custom data associated with the subscriber
subscriberId string The internal identifier you used to create this subscriber, usually correlates to the id the user in your systems
channels array An optional array of subscriber channels.
View JSON Schema on GitHub

JSON Schema

novu-subscriber-payload-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/novu/main/json-schema/novu-subscriber-payload-dto-schema.json",
  "title": "SubscriberPayloadDto",
  "description": "JSON Schema for Novu SubscriberPayloadDto.",
  "type": "object",
  "properties": {
    "firstName": {
      "type": [
        "string",
        "null"
      ],
      "description": "First name of the subscriber",
      "example": "John"
    },
    "lastName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Last name of the subscriber",
      "example": "Doe"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Email address of the subscriber",
      "example": "john.doe@example.com"
    },
    "phone": {
      "type": [
        "string",
        "null"
      ],
      "description": "Phone number of the subscriber",
      "example": "+1234567890"
    },
    "avatar": {
      "type": [
        "string",
        "null"
      ],
      "description": "Avatar URL or identifier",
      "example": "https://example.com/avatar.jpg"
    },
    "locale": {
      "type": [
        "string",
        "null"
      ],
      "description": "Locale of the subscriber",
      "example": "en-US"
    },
    "timezone": {
      "type": [
        "string",
        "null"
      ],
      "description": "Timezone of the subscriber",
      "example": "America/New_York"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "description": "Additional custom data associated with the subscriber",
      "additionalProperties": true
    },
    "subscriberId": {
      "type": "string",
      "description": "The internal identifier you used to create this subscriber, usually correlates to the id the user in your systems",
      "minLength": 1
    },
    "channels": {
      "description": "An optional array of subscriber channels.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "providerId": {
            "type": "string",
            "description": "The ID of the chat or push provider.",
            "enum": [
              "slack",
              "discord",
              "msteams",
              "mattermost",
              "ryver",
              "zulip",
              "grafana-on-call",
              "getstream",
              "rocket-chat",
              "whatsapp-business",
              "chat-webhook",
              "novu-slack",
              "telegram",
              "fcm",
              "apns",
              "expo",
              "one-signal",
              "pushpad",
              "push-webhook",
              "pusher-beams",
              "appio"
            ]
          },
          "integrationIdentifier": {
            "type": "string",
            "description": "An optional identifier for the integration."
          },
          "credentials": {
            "description": "Credentials for the channel.",
            "allOf": [
              {
                "type": "object",
                "properties": {
                  "webhookUrl": {
                    "type": "string",
                    "description": "The URL for the webhook associated with the channel."
                  },
                  "deviceTokens": {
                    "description": "An array of device tokens for push notifications.",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            ]
          }
        },
        "required": [
          "providerId",
          "credentials"
        ]
      }
    }
  },
  "required": [
    "subscriberId"
  ]
}

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/novu-subscriber-payload-dto"
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.