Trigger event
Enter your API key in the Authorization
field like the example shown below:
E.g ApiKey 18d2e625f05d80e
Idempotent nature of transactionId
Idempotent nature of transactionId
Idempotent nature of transactionId
The transactionId
within Novu is a unique identifier that is used to ensure the idempotent nature of notification delivery.
When you trigger an event to send a notification, you have the option to provide a transactionId
. If you do not provide one, Novu will generate a UUID for you.
This identifier is particularly useful for preventing the same notification from being sent multiple times in case the trigger event is inadvertently called more than once.
By leveraging the transactionId
, you can make idempotent requests, which means if the same transactionId
is used in another request, Novu's API will recognize it and will not send the same notification again.
This upholds the principle of idempotency, ensuring that the effect of the operation is the same, no matter how many times the request is repeated with the same transactionId
.
Body
Response
Created
The response is of type object
.