Skip to main content
POST
/
notifications
/
bulk-action
Bulk Notification Action
curl --request POST \
  --url https://api.decodahealth.com/notifications/bulk-action \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "action": "mark_all_read"
}
'
{}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Parameters for bulk notification actions

action
enum<string>
required

Bulk action to perform

Available options:
mark_all_read,
archive_all,
archive_read

Response

Successful Response

{key}
integer