GET/projects/api/v3/latestactivity.json

Latest activity (all projects)

Lists the latest activity across all projects ordered chronologically. When you log into Teamwork you will see all the recent activity. This corresponds to that view in Teamwork. There are parameters you can send in to filter your results.

Query Params

  • Name
    updatedAfter
    Type
    string
    Description

    filter by updated after date

  • Name
    startDate
    Type
    string
    Description

    filter by start datetime

  • Name
    orderMode
    Type
    string
    Description

    order mode

    Allowed values
    • asc
    • desc
  • Name
    orderBy
    Type
    string
    Description

    sort by

  • Name
    endDate
    Type
    string
    Description

    filter by end datetime

  • Name
    cursor
    Type
    string
    Description

    cursor used for pagination. When using this pagination mode the page and pageSize will be ignored, using limit to control the number of items. If any other filter is modified during the cursor iteration the response will fall back to the first page.

  • Name
    pageSize
    Type
    integer
    Description

    number of items in a page

    Default
    50
  • Name
    page
    Type
    integer
    Description

    page number

    Default
    1
  • Name
    limit
    Type
    integer
    Description

    number of items to show when providing the cursor.

  • Name
    skipCounts
    Type
    boolean
    Description

    SkipCounts allows you to skip doing counts on a list API endpoint for performance reasons.

  • Name
    showDeleted
    Type
    boolean
    Description

    include deleted items

    Default
    false
  • Name
    onlyStarredProjects
    Type
    boolean
    Description

    filter by starred projects only

    Default
    false
  • Name
    onlyProjectsWithExplicitMembership
    Type
    boolean
    Description

    only projects with explicit membership

  • Name
    matchAllProjectTags
    Type
    boolean
    Description

    enforce all tag ids must be matched

  • Name
    includeArchivedProjects
    Type
    boolean
    Description

    include archived projects

  • Name
    groupCommentActivityType
    Type
    boolean
    Description

    group all activities on comments

  • Name
    userIds
    Type
    array[integer]
    Description

    filter by user ids

    Format
    Comma separated values
  • Name
    projectTagIds
    Type
    array[integer]
    Description

    filter by project tag ids

    Format
    Comma separated values
  • Name
    projectStatuses
    Type
    array[string]
    Description

    list of project status

    Format
    Comma separated values
  • Name
    projectOwnerIds
    Type
    array[integer]
    Description

    filter by project owner ids

    Format
    Comma separated values
  • Name
    projectIds
    Type
    array[integer]
    Description

    filter by project ids

    Format
    Comma separated values
  • Name
    projectHealths
    Type
    array[integer]
    Description

    list of project health

    Format
    Comma separated values
  • Name
    projectCompanyIds
    Type
    array[integer]
    Description

    filter by company ids

    Format
    Comma separated values
  • Name
    projectCategoryIds
    Type
    array[integer]
    Description

    filter by project category ids

    Format
    Comma separated values
  • Name
    include
    Type
    array[string]
    Description

    include

    Format
    Comma separated values
    Allowed values
    • projects
    • users
    • companies
  • Name
    fields[users]
    Type
    array[string]
    Description
    Format
    Comma separated values
    Allowed values
    • id
    • firstName
    • lastName
    • title
    • email
    • companyId
    • company
    • isAdmin
    • isClientUser
    • isServiceAccount
    • type
    • deleted
    • avatarUrl
    • lengthOfDay
    • workingHoursId
    • workingHour
    • userRate
    • userCost
    • canAddProjects
  • Name
    fields[projects]
    Type
    array[string]
    Description
    Format
    Comma separated values
    Allowed values
    • id
    • name
  • Name
    fields[companies]
    Type
    array[string]
    Description
    Format
    Comma separated values
    Allowed values
    • id
    • name
    • logoUploadedToServer
    • logoImage
  • Name
    fields[activities]
    Type
    array[string]
    Description
    Format
    Comma separated values
    Allowed values
    • id
    • dateTime
    • activityType
    • latestActivityType
    • itemId
    • itemLink
    • itemType
    • itemDescription
    • itemExtraDescription
    • itemExtraLink
    • itemPublicInfo
    • forUserId
    • forUserName
    • dueDate
    • isPrivate
    • lockdownId
    • projectId
    • companyId
  • Name
    activityTypes
    Type
    array[string]
    Description

    filter by activity types

    Format
    Comma separated values
    Allowed values
    • task
    • tasklist
    • project
    • message
    • notebook
    • milestone
    • like
    • file
    • link
    • billinginvoice
    • task_comment
    • milestone_comment
    • file_comment
    • link_comment
    • comment

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    ActivitiesResponse contains all the information returned when sending a GET request to the activity endpoint.
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    ErrorResponse defines how []Error should be marshaled to JSON.

Examples

200 OK

ActivitiesResponse
{  "activities": [    {      "activityType": "string",      "company": {        "id": 0,        "meta": {},        "type": "string"      },      "companyId": 0,      "dateTime": "string",      "description": "string",      "dueDate": "string",      "extraDescription": "string",      "forUser": {        "id": 0,        "meta": {},        "type": "string"