Membership
Get resource-specific last seen timestamps for multiple users in a workspace
Returns last seen data for specified users within a workspace. Requires the `canGetWorkspaceMembers` right. Unknown user ids are silently omitted from `results`; known users with no record get a null `lastSeen`.
Returns last seen data for specified users within a workspace. Requires the canGetWorkspaceMembers right. Unknown user ids are silently omitted from results; known users with no record get a null lastSeen.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
workspaceId*string
The ID of the workspace to get last seen data for.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/memberships/workspace/497f6eca-6276-4993-bfeb-53cbbbba6f08/last-seen" \ -H "Content-Type: application/json" \ -d '{ "userIds": [ "507f1f77bcf86cd799439011" ] }'{ "results": [ { "userId": "507f1f77bcf86cd799439011", "resourceId": "507f1f77bcf86cd799439012", "resourceType": "workspace", "lastSeen": "2025-10-24T10:30:00.000Z" } ]}