Bulk update notification status

Bulk-updates the lifecycle status of one or more error notifications, marking them acknowledged or resolved.

Auth: Partner — authentication, under the partner prefix. The request validation validates each id.* exists in email_notifications. The controller loads all rows by id and updates them (no partner-tree / company scoping on which ids may be updated). resolved sets resolved=1, status='none', resolved_at=now; acknowledged sets status='acknowledged'. Each updated row is also stamped notified=1/notified_at (only when the caller's company_id is present and the row was not already notified).

Rate limit: No rate limit.

Request

  • Body:
FieldTypeRequiredNotes
idarray of integersYesNotification ids; each must be a known notification.
statusstringYesOne of resolved, acknowledged.

Response{ data. } envelope:

  • message (string) — Selected notifications have been marked as Acknowledged. / . Resolved. (status is ucfirst-ed), or Some notifications not found. if any save failed.

Errors: 422 on validation failure.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
id
array of integers
id
string
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json