Skip to content

Get activities

Request

Query a Workspace activity. This resource supports pagination

Security
ApiTokenAuth
Query
requestobject(PageableRequest)required

Request object to specify the pageable response

Headers
X-Workspace-idstringrequired

Workspace ID for authentication

Example:444
curl -i -X GET \
  'https://docs.guusto.com/_mock/version/openapi/api/v1/reports/teams/activity?request=page%3D1%26size%3D25' \
  -H 'Authorization: Bearer <YOUR_ApiToken_HERE>' \
  -H 'X-Workspace-id: 444'

Responses

Successful Query

Bodyapplication/json
pageinteger, (int32)

Selected page for viewing

Example:1
sizeinteger, (int32)

Size of results per page

Example:50
totalElementsinteger, (int64)

Total amount of elements within query

Example:1
totalPagesinteger, (int32)

Total amount of pages within query

Example:1
activitiesArray of objects(ActivityResponse)

List of workspace activities

Response
{ "page": 1, "size": 1, "totalElements": 2, "totalPages": 1, "activities": [ { "status": "PENDING", "sender": { "id": 123332, "email": "aldrin.ca@example.io", "firstName": "Aldrin", "lastName": "Ca", "image": "www.image.io/example2.png", "self": false }, "receiver": { "id": 1233, "email": "david.lu@example.io", "firstName": "David", "lastName": "Lu", "image": "www.image.io/example.png", "self": false }, "createdOn": "2025-04-02T12:39:24.356313", "description": "What an achievement!", "reason": { "id": 33, "description": "Team Lead" }, "isPrivate": false, "type": "SHOUTOUT", "account": 12323, "team": 765 }, { "status": "APPROVED", "sender": { "id": 123332, "email": "aldrin.ca@example.io", "firstName": "Aldrin", "lastName": "Ca", "image": "www.image.io/example2.png", "self": false }, "receiver": { "id": 1233, "email": "ericJ@example.io", "firstName": "Eric", "lastName": "Jupiter", "image": "www.example2.io/example.png", "self": false }, "createdOn": "2025-03-30T12:39:24.356351", "description": "What an achievement!", "reason": { "id": 33, "description": "Team Lead" }, "isPrivate": false, "type": "SHOUTOUT", "account": 12323, "team": 765 } ] }