Docs
Get Activities
GET /Users/{userId}/activities
GET
/Users/{userId}/activitiesReturns every activity the user is on, across every organization, that overlaps the from and to window (UTC instants, to after from, at most 400 days apart). An activity counts when the user's crew row on its event is a participant, or when it is a global activity on an event the user is crew on; only active events are included. Recurring activities come back once, with their rule, so expand the occurrences client-side. Works for a user with no organization of their own. Only the caller's own user id is accepted.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| userId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| from | date-time | Optional | |
| to | date-time | Optional |
Response
Type: GetUserActivitiesResponse[]
GetUserActivitiesResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| type | string| null | |
| startDateTime | date-time | |
| endDateTime | date-time | |
| isAllDay | boolean | |
| recurrenceRule | GetUserActivitiesResponseRecurrenceRuleInfo| null | |
| event | GetUserActivitiesResponseEventInfo |
GetUserActivitiesResponseRecurrenceRuleInfo
| Field | Type | Description |
|---|---|---|
| frequency | string| null | |
| interval | integer | |
| daysOfWeek | string[]| null | |
| endDate | date-time |
GetUserActivitiesResponseEventInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| imageUrl | string| null | |
| organizationId | uuid |