Marks all the subscriber messages as read, unread, seen or unseen. Optionally you can pass feed id (or array) to mark messages of a particular feed.

  • ,\ \\\,_ \` ,\ __,.-" =__) ." ),_/ , \/\_\_| )_-\ \_-` `-----` `--`
    __ // \,_ \` ,\ __,.-" =__) ." ),_/ , \/\ \_| // / / / / /
    Let's Get Started

    Create request, folder, collection or import from OpenAPI/Postman

    /v2/subscribers

    Authorization

    Authorization<token>

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

    In: header

    Request Body

    application/jsonRequired
    feedIdentifierstring | array<string>

    Optional feed identifier or array of feed identifiers

    markAsRequiredstring

    Mark all subscriber messages as read, unread, seen or unseen

    Value in: "read" | "seen" | "unread" | "unseen"

    Path Parameters

    subscriberIdRequiredstring

    Header Parameters

    idempotency-keystring

    A header for idempotency purposes

    curl -X POST "https://api.novu.co/v1/subscribers/<string>/messages/mark-all" \
      -H "idempotency-key: <string>" \
      -H "Authorization: <token>" \
      -H "Content-Type: application/json" \
      -d '{
        "feedIdentifier": "string",
        "markAs": "read"
      }'

    0

    Edit on GitHub

    Previous

    Mark message action as seen POST

    Next

    Get notification graph statistics GET