Delete messages by transactionId

Delete multiple messages from the Novu platform using **transactionId** of triggered event. This API supports filtering by **channel** and delete all messages associated with the **transactionId**.

Delete multiple messages from the Novu platform using transactionId of triggered event. This API supports filtering by channel and delete all messages associated with the transactionId.

DELETE
/v1/messages/transaction/{transactionId}

Authorization

Authorization<token>

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

In: header

Path Parameters

transactionIdRequiredstring

Query Parameters

channelstring

The channel of the message to be deleted

Value in: "in_app" | "email" | "sms" | "chat" | "push"

Header Parameters

idempotency-keystring

A header for idempotency purposes

Response Body

curl -X DELETE "https://api.novu.co/v1/messages/transaction/507f1f77bcf86cd799439011?channel=in_app" \
  -H "idempotency-key: string" \
  -H "Authorization: <token>"
Empty

On this page

No Headings
Edit this page on GitHub