Skip to main content
POST
Mark activities read

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, or a member token. The credential alone identifies the member and company.

Body

application/json

Activities to mark read: give exactly one of ids or before.

ids
string<uuid>[]

Public ids of activities to mark read. Ids outside the member's feed are ignored.

Required array length: 1 - 100 elements
before
string<date-time>

Mark every unread activity that occurred at or before this time.

Response

The unread count after marking.

The unread activity count.

status
integer
required
data
object
required

The member's unread activity count.

meta
object
required

Envelope metadata present on every response.