Passo Developers
Api

Get a deal's activity timeline

GET
/deals/{dealId}/activity

Returns a deal's activity timeline — its commercial stage moves (scope deal) unioned with all its deliverables' production stage moves (scope deliverable, carrying the deliverableId), oldest first. Each entry has fromStage (null for a seed event) and toStage (a commercial stage for deal rows, a production stage for deliverable rows), plus reason and actorUserId (null for a workflow move). Returned whole with a total. An empty timeline if the deal doesn't exist or you can't see it.

Authorization

AuthorizationBearer <token>

A Supabase-issued OAuth user access token. On collection endpoints, pair with a Passo-Workspace header to pick a workspace.

In: header

Path Parameters

dealId*string
Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/deals/string/activity"
{  "activity": [    {      "id": "string",      "scope": "deal",      "dealId": "string",      "deliverableId": "string",      "fromStage": "contracted",      "toStage": "contracted",      "reason": "string",      "actorUserId": "string",      "createdAt": "string"    }  ],  "total": -9007199254740991}