Mark All Alerts as Read
Alerts
Mark all alerts read
Mark all alerts as read for companies under the caller’s tree.
POST
Mark All Alerts as Read
Overview
Marks all alert records for alerts in companies under the caller’s tree as read.A V2 version of this endpoint is available: Mark all alerts read. New integrations should prefer V2.
Endpoint
POST /api/SetAllAlertAsRead
Query parameters
Company id (must be in caller’s tree).
Response
200 OK empty.Error responses
| Status | Meaning |
|---|---|
| 404 | { "error": "Company {compId} not found" } |
Authorizations
JWT Bearer token obtained from POST /api/authentication/token/user or POST /api/authentication/token/api-key.
Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.
Scoping:
- User tokens are scoped to a single company.
- API key tokens may restrict access to a vehicle allowlist and/or action set (see token claims).
No refresh endpoint — re-authenticate with your credentials when the token expires.
Headers
Standard and must keep as it is.
Bearer your_token
Query Parameters
Company ID
Response
Successful response
The response is of type object.