API Reference
- API Overview
- API Rate Limiting
- Events
- Subscribers
- GETGet subscribers
- POSTCreate subscriber
- POSTBulk create subscribers
- GETGet subscriber
- PUTUpdate subscriber
- DELDelete subscriber
- PUTUpdate subscriber credentials
- DELDelete subscriber credentials by providerId
- PATCHUpdate subscriber online status
- GETGet subscriber preferences
- GETGet subscriber preferences by level
- PATCHUpdate subscriber preference
- PATCHUpdate subscriber global preferences
- GETGet in-app notifications feed of subscriber.
- GETGet unseen in-app notifications count
- POSTMarks a message as read/unread, seen/unseen.
- POSTMarks all messages as read/unread, seen/unseen.
- POSTMark message action as seen
- GETHandle providers oauth redirect
- GETHandle chat oauth
- GET
- Topics
- Notification
- Workflows
- Workflow overrides
- Workflow groups
- Integrations
- Layouts
- Environments
- Changes
- Execution details
- Feeds
- Tenants
- Organizations
- Messages
Marks a message as read/unread, seen/unseen.
Enter your API key in the Authorization
field like the example shown below:
E.g ApiKey 18d2e625f05d80e
This API marks a single message of one subscriber as read
, unread
, seen
, unseen
. This API requires messageId
to be passed.
Authorizations
API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
Path Parameters
Body
read
, seen
, unread
, unseen
Response
Environment ID where the message is sent
Message template ID
Notification ID associated with the message
Organization ID associated with the message
Subscriber ID associated with the message
Template ID associated with the message
Channel type through which the message is sent
in_app
, email
, sms
, chat
, push
Content of the message, can be an email block or a string
Content of the email block
Type of the email block
button
, text
Styles applied to the email block
Text alignment for the email block
center
, left
, right
URL associated with the email block, if any
Creation date of the message
Call to action associated with the message
Data associated with the call to action
URL for the call to action
Action associated with the call to action
List of buttons associated with the message action
Status of the message action
pending
, done
Type of call to action
redirect
Indicates if the message has been read
Indicates if the message has been seen
Status of the message
sent
, error
, warning
Transaction ID associated with the message
Feed ID associated with the message, if applicable
Unique identifier for the message
Device tokens associated with the message, if applicable
Direct webhook URL for the message, if applicable
Email address associated with the message, if applicable
Error ID if the message has an error
Error text if the message has an error
Last read date of the message, if available
Last seen date of the message, if available
Provider specific overrides used when triggering the notification
The payload that was used to send the notification trigger
Phone number associated with the message, if applicable
Provider ID associated with the message, if applicable
Subject of the message, if applicable
Subscriber details, if available
The unique identifier of the environment associated with this subscriber.
The unique identifier of the organization to which the subscriber belongs.
The timestamp indicating when the subscriber was created, in ISO 8601 format.
Indicates whether the subscriber has been deleted.
The identifier used to create this subscriber, which typically corresponds to the user ID in your system.
The timestamp indicating when the subscriber was last updated, in ISO 8601 format.
The version of the subscriber document.
The internal ID generated by Novu for your subscriber. This ID does not match the subscriberId
used in your queries. Refer to subscriberId
for that identifier.
The URL of the subscriber's avatar image.
An array of channel settings associated with the subscriber.
The unique identifier of the integration associated with this channel.
Credentials payload for the specified provider
Alert UID for Grafana on-call webhook payload.
Channel specification for Mattermost chat notifications.
Contains an array of the subscriber device tokens for a given provider. Used on Push integrations.
Link to upstream details property for Grafana on-call webhook.
Image URL property for Grafana on-call webhook.
State property for Grafana on-call webhook.
Title to be used with Grafana on-call webhook.
Webhook URL used by chat app integrations. The webhook should be obtained from the chat app provider.
The provider identifier for the credentials
slack
, discord
, msteams
, mattermost
, ryver
, zulip
, grafana-on-call
, getstream
, rocket-chat
, whatsapp-business
, fcm
, apns
, expo
, one-signal
, pushpad
, push-webhook
, pusher-beams
The integration identifier
The email address of the subscriber.
The first name of the subscriber.
Indicates whether the subscriber is currently online.
The last name of the subscriber.
The timestamp indicating when the subscriber was last online, in ISO 8601 format.
The locale setting of the subscriber, indicating their preferred language or region.
The phone number of the subscriber.
An array of topics that the subscriber is subscribed to.
Workflow template associated with the message
Unique identifier for the notification step.
ID of the parent notification step, if applicable.
ID of the template associated with this notification step.
Indicates whether the notification step is active.
Filters applied to this notification step.
BOOLEAN
, TEXT
, DATE
, NUMBER
, STATEMENT
, LIST
, MULTI_LIST
, GROUP
AND
, OR
Metadata associated with the workflow step. Can vary based on the type of step.
regular
, backoff
seconds
, minutes
, hours
, days
, weeks
, months
seconds
, minutes
, hours
, days
, weeks
, months
Name of the notification step.
Determines if the process should stop on failure.
Message template used in this notification step.
Universally unique identifier for the notification step.
Unique identifier for the notification step.
ID of the parent notification step, if applicable.
ID of the template associated with this notification step.
Indicates whether the notification step is active.
Filters applied to this notification step.
Metadata associated with the workflow step. Can vary based on the type of step.
Name of the notification step.
Callback information for replies, including whether it is active and the callback URL.
Determines if the process should stop on failure.
Message template used in this notification step.
Universally unique identifier for the notification step.
event
Name of the variable
Identifier for the message template
Title of the message, if applicable