Mark inbox items as read
PUT
/api/v1/notifications/inbox/read
const url = 'https://example.com/api/v1/notifications/inbox/read';const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/notifications/inbox/read \ --header 'Authorization: Bearer <token>'Mark inbox items as read. Set until_ms to leave newer items unread. The server returns no response body. Route: /api/v1/notifications/inbox/read. Inputs: until_ms. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”until_ms
integer format: int64
Mark only items created at or before this Unix millisecond time. The client sends the newest item it has shown, so later arrivals stay unread. Without it, every current item is marked.
Responses
Section titled “Responses”Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}