API Documentation

API Endpoint

Activities

Activities

Activities in Productive track changes made to various objects across the platform. Whenever an object is created, updated, or deleted, a new activity is logged. This activity records the type of change, the specific data that was modified, as well as the actor who made the change and the exact timestamp when it occurred.

These activities are primarily used in Feeds for different objects, such as Tasks, Projects, People and other.

Note: Activities are created for most, but not all, objects in Productive.

Supported filter params

  • after

  • before

  • booking_id (array)

  • company_id (array)

  • creator_id (array)

  • deal_id (array)

  • discussion_id (array)

  • event (create, copy, update…)

  • expense_id (array)

  • has_attachments

  • invoice_id (array)

  • item_type (Workspace, Task, Page, Deal…)

  • parent_type (Workspace, Task, Page, Deal…)

  • participant_id

  • person_id (array)

  • pinned

  • project_id (array)

  • purchase_order_id

  • root_type (Workspace, Page, Person…)

  • task_id (array)

  • type (1: Comment, 2: Changeset, 3: Email)

GET /api/v2/activities
Requestsreturns activities

GET  /api/v2/activities?filter[task_id]=1

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": [
    {
      "id": "2",
      "type": "activities",
      "attributes": {
        "event": "edit",
        "changeset": [],
        "item_id": 1,
        "item_type": "task",
        "item_name": "#1: Ticket title",
        "item_deleted_at": null,
        "parent_id": 1,
        "parent_type": "project",
        "parent_name": "test project",
        "parent_deleted_at": null,
        "root_id": 1,
        "root_type": "project",
        "root_name": "test project",
        "root_deleted_at": null,
        "deal_is_budget": false,
        "task_id": 1,
        "deal_id": null,
        "booking_id": null,
        "invoice_id": null,
        "company_id": null,
        "created_at": "2025-08-02T02:04:36.380+02:00",
        "discussion_id": null,
        "engagement_id": null,
        "page_id": null,
        "person_id": null,
        "purchase_order_id": null,
        "made_by_automation": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1"
          }
        },
        "creator": {
          "meta": {
            "included": false
          }
        },
        "comment": {
          "meta": {
            "included": false
          }
        },
        "email": {
          "meta": {
            "included": false
          }
        },
        "attachment": {
          "meta": {
            "included": false
          }
        },
        "role": {
          "meta": {
            "included": false
          }
        }
      }
    },
    {
      "id": "1",
      "type": "activities",
      "attributes": {
        "event": "create",
        "changeset": [],
        "item_id": 1,
        "item_type": "task",
        "item_name": "#1: Ticket title",
        "item_deleted_at": null,
        "parent_id": 1,
        "parent_type": "project",
        "parent_name": "test project",
        "parent_deleted_at": null,
        "root_id": 1,
        "root_type": "project",
        "root_name": "test project",
        "root_deleted_at": null,
        "deal_is_budget": false,
        "task_id": 1,
        "deal_id": null,
        "booking_id": null,
        "invoice_id": null,
        "company_id": null,
        "created_at": "2025-08-02T02:04:36.377+02:00",
        "discussion_id": null,
        "engagement_id": null,
        "page_id": null,
        "person_id": null,
        "purchase_order_id": null,
        "made_by_automation": false
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1"
          }
        },
        "creator": {
          "meta": {
            "included": false
          }
        },
        "comment": {
          "meta": {
            "included": false
          }
        },
        "email": {
          "meta": {
            "included": false
          }
        },
        "attachment": {
          "meta": {
            "included": false
          }
        },
        "role": {
          "meta": {
            "included": false
          }
        }
      }
    }
  ],
  "links": {
    "first": "http://api-test.productive.io/api/v2/activities?filter%5Btask_id%5D=1&page%5Bnumber%5D=1&page%5Bsize%5D=30"
  },
  "meta": {
    "current_page": 1,
    "page_size": 30,
    "max_page_size": 200
  }
}

Get activities
GET/api/v2/activities


GET /api/v2/activities/1
Requestsreturns activity

GET  /api/v2/activities/9

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "9",
    "type": "activities",
    "attributes": {
      "event": "create",
      "changeset": [],
      "item_id": 6,
      "item_type": "task",
      "item_name": "#1: Ticket title",
      "item_deleted_at": null,
      "parent_id": 16,
      "parent_type": "project",
      "parent_name": "test project",
      "parent_deleted_at": null,
      "root_id": 16,
      "root_type": "project",
      "root_name": "test project",
      "root_deleted_at": null,
      "deal_is_budget": false,
      "task_id": 6,
      "deal_id": null,
      "booking_id": null,
      "invoice_id": null,
      "company_id": null,
      "created_at": "2025-08-02T02:04:42.926+02:00",
      "discussion_id": null,
      "engagement_id": null,
      "page_id": null,
      "person_id": null,
      "purchase_order_id": null,
      "made_by_automation": false
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "4"
        }
      },
      "creator": {
        "meta": {
          "included": false
        }
      },
      "comment": {
        "meta": {
          "included": false
        }
      },
      "email": {
        "meta": {
          "included": false
        }
      },
      "attachment": {
        "meta": {
          "included": false
        }
      },
      "role": {
        "meta": {
          "included": false
        }
      }
    }
  },
  "meta": {}
}

Gets a activity
GET/api/v2/activities/{id}

URI Parameters
HideShow
id
number (required) Example: 1

activity id


Generated by aglio on 02 Aug 2025