Skip to main content
PUT
Mark all alerts read (V2)

Overview

Marks every stored alert record of the 10 types returned by Alert records as read, across every company the token can read (its own company and its direct sub-companies that are not cancelled), whatever {id} is. There is no date limit, and records of deleted alert definitions are included. Records that are already read stay read. {id} must be one of the token’s companies, otherwise the call returns 404.
This cannot be undone in bulk: records can only be marked unread one at a time with Update alert read status, and some records cannot be addressed by it at all (see its Warning). The read flag is shared with the Telemax Dashboard, so Dashboard users see the records as read too.
startDate and endDate are not supported: if sent, they are ignored and every record is marked.
The V1 version of this endpoint is Mark all alerts read.
Rate limit: 4 req/s · 20/min · 600/hr · 14,400/day

Endpoint

PUT /v2/api/companies/{id}/set-all-alerts-read

Path parameters

integer
required
Company ID.

Response

200 OK — empty body on success.

Error responses

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from POST /v2/api/authentication/token/api-key.

Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.

Scoping: API key tokens are scoped by the key's company and its action set; see Token scoping.

No refresh endpoint — re-authenticate with your API key when the token expires.

Path Parameters

id
integer
required

Response

200 OK — Empty body. Every record of the 10 types across the token's companies is marked as read.