Skip to main content
post/v1/subscribers/{subscriberId}/messages/{messageId}/actions/{type}
Request example
Response
post/v1/subscribers/{subscriberId}/messages/{messageId}/actions/{type}

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Path parameters

messageIdstringrequired#
typeenum<string>required#
Options:primarysecondary
subscriberIdstringrequired#

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
statusenum<string>required#
Message action status
Options:pendingdone
payloadobject#
Message action payload

Responses

application/json
Created
_idstring#
Unique identifier for the message
_templateIdstring#
Template ID associated with the message
_environmentIdstringrequired#
Environment ID where the message is sent
_messageTemplateIdstring#
Message template ID
_organizationIdstringrequired#
Organization ID associated with the message
_notificationIdstringrequired#
Notification ID associated with the message
_subscriberIdstringrequired#
Subscriber ID associated with the message
subscriberobject#
Subscriber details, if available
templateobject#
Workflow template associated with the message
templateIdentifierstring#
Identifier for the message template
createdAtstringrequired#
Creation date of the message
deliveredAtstring[]#
Array of delivery dates for the message, if the message has multiple delivery dates, for example after being snoozed
lastSeenDatestring#
Last seen date of the message, if available
lastReadDatestring#
Last read date of the message, if available
contentobject[] · string#
Content of the message, can be an email block or a string
transactionIdstringrequired#
Transaction ID associated with the message
subjectstring#
Subject of the message, if applicable
channelenum<string>required#
Options:in_appemailsmschatpushtool
readbooleanrequired#
Indicates if the message has been read
seenbooleanrequired#
Indicates if the message has been seen
snoozedUntilstring#
Date when the message will be unsnoozed
emailstring#
Email address associated with the message, if applicable
phonestring#
Phone number associated with the message, if applicable
directWebhookUrlstring#
Direct webhook URL for the message, if applicable
providerIdstring#
Provider ID associated with the message, if applicable
deviceTokensstring[]#
Device tokens associated with the message, if applicable
titlestring#
Title of the message, if applicable
ctaobjectrequired#
Call to action associated with the message
_feedIdstring#
Feed ID associated with the message, if applicable
statusenum<string>required#
Status of the message
Options:senterrorwarning
errorIdstring#
Error ID if the message has an error
errorTextstring#
Error text if the message has an error
payloadobject#
The payload that was used to send the notification trigger
overridesobject#
Provider specific overrides used when triggering the notification
contextKeysstring[]#
Context (single or multi) in which the message was sent
Example: