Skip to main content
POST
Provide exactly one of notification_ids, before, or mark_all. workflow_id is only valid when used with before or mark_all. This results in the following behaviors:
  • If you specify notification_ids only, it will mark all notifications with the specified IDs as read.
  • If you specify before only, it will mark all notifications created in the workspace before the specified timestamp as read.
  • If you specify mark_all only, it will mark at the time of the API call all existing notifications in the workspace as read.
  • If you specify workflow_id and before, it will mark all notifications created before the specified timestamp for the specified workflow as read.
  • If you specify workflow_id and mark_all, it will mark at the time of the API call all existing notifications associated with the specified workflow as read.

Body

array
Specific notification IDs to mark as read. Maximum 100 UUIDs.
string
Mark all notifications created before this ISO 8601 timestamp (in format YYYY-MM-DDTHH:MM:SSZ) as read.
boolean
If true, mark all unread notifications as read. Default: false.
string
Scope the operation to a specific workflow. Only valid when used with before or mark_all.

Response

integer
required
Number of notifications newly marked as read.