Docs

Get Activities

GET /Users/{userId}/activities

GET/Users/{userId}/activities

Returns every activity the user is on, across every organization, that overlaps the from and to window (instants, to exclusive and after from, at most 400 days apart), in the same shape as Activities_GetActivityWindow with each item's event filled. 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, and with an organization token the organization's own activities the user's org crew takes part in are added. Returns at most 2,000 rows with truncated set when capped, and the count of drafts with no start. Works for a user with no organization of their own. Only the caller's own user id is accepted.

Path Parameters

FieldTypeRequiredDescription
userIduuidRequired

Query Parameters

FieldTypeRequiredDescription
fromdate-timeOptional
todate-timeOptional

Response

FieldTypeDescription
activitiesActivityWindowItem[]| null
truncatedboolean
undatedDraftCountinteger

ActivityWindowItem

FieldTypeDescription
iduuid
namestring| null
statestring| null
activityTypeIduuid| null
isGlobalboolean
isAllDayboolean
isDateOnlyboolean
isMarkerboolean
countsAsBusyboolean
startDateTimedate-time| null
endDateTimedate-time| null
timeZonestring| null
startdate-time| null
enddate-time| null
calendarsstring[]| null
eventActivityWindowItemEventInfo
participantsActivityWindowItemParticipantItem[]| null
areasActivityWindowItemAreaItem[]| null
lockedFieldsstring[]| null
calendarSyncActivityWindowItemCalendarSyncInfo

ActivityWindowItemEventInfo

FieldTypeDescription
iduuid
namestring| null
organizationIduuid
imageUrlstring| null

ActivityWindowItemParticipantItem

FieldTypeDescription
iduuid
kindstring| null
rolestring| null
namestring| null

ActivityWindowItemAreaItem

FieldTypeDescription
iduuid
namestring| null

ActivityWindowItemCalendarSyncInfo

FieldTypeDescription
calendarNamestring| null