Snooze a notification
Snooze a specific in-app (inbox) notification by its unique identifier notificationId until a specified time.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
In: header
Request Body
application/jsonRequiredsnoozeUntilRequiredstringThe date and time until which the notification should be snoozed
"date-time"Path Parameters
subscriberIdRequiredstringThe identifier of the subscriber
notificationIdRequiredstringThe identifier of the notification
Query Parameters
contextKeysarray<string>Context keys for filtering
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
idRequiredstringUnique identifier of the notification
transactionIdRequiredstringTransaction identifier of the notification
subjectstringSubject of the notification
bodyRequiredstringBody content of the notification
toRequiredobjectSubscriber this notification was sent to
isReadRequiredbooleanWhether the notification has been read
isSeenRequiredbooleanWhether the notification has been seen
isArchivedRequiredbooleanWhether the notification has been archived
isSnoozedRequiredbooleanWhether the notification is snoozed
snoozedUntilstring | nullISO timestamp when the notification will be unsnoozed
deliveredAtarray<string>Timestamps when the notification was delivered
createdAtRequiredstringISO timestamp when the notification was created
readAtstring | nullISO timestamp when the notification was read
firstSeenAtstring | nullISO timestamp when the notification was first seen
archivedAtstring | nullISO timestamp when the notification was archived
avatarstringAvatar URL for the notification
primaryActionobjectPrimary action button for the notification
secondaryActionobjectSecondary action button for the notification
channelTypeRequiredstringChannel type through which the message is sent
"in_app" | "email" | "sms" | "chat" | "push"tagsarray<string>Tags associated with the notification
dataobjectCustom data payload of the notification
redirectobjectRedirect configuration for the notification
workflowobjectWorkflow associated with the notification
severityRequiredstringSeverity of the workflow
"high" | "medium" | "low" | "none"