Get user activity logs


GET /api/activity/user/:userId

Returns the activity log for a given user.

Endpoint URL

https://<space_id>.repsona.com/api/activity/user/:userId

Authorization

Owner Admin Member

Path parameters

NameTypeDescription
userId*stringUser ID

Example responses

{
  "requestedBy": 1,
  "activities": [
    {
      "id": 1746,
      "createdAt": 1672498800000,
      "model": "Task",
      "modelId": 2,
      "property": "status",
      "isMultiple": false,
      "action": "update",
      "user": {
        "id": 1746,
        "name": "Reon",
        "fullName": "Reon Walls",
        "avatarUrl": "/dummy/avatar1.png",
        "extra": {}
      },
      "project": {
        "id": 1746,
        "name": "elephant-website",
        "fullName": "Elephant website development project"
      },
      "ref": {
        "link": {
          "text": "Create a design base",
          "path": "/project/5B/task/ev"
        },
        "fromContent": "\"Doing\"",
        "toContent": "\"Done\"",
        "content": "\"Doing\" → \"Done\""
      }
    }
  ]
}

Human-centered, best team!

Repsona is an ideal work management tool for your team
Get started for free