Activities (todos)
An activity is a task linked to a deal: a call, a meeting, a follow-up.Valid types
The Activity object
List activities
GET
/backend/pipeline/deals/{id}/todospipeline.view.
Create an activity
POST
/backend/pipeline/deals/{id}/todospipeline.deals.edit.
Update an activity
PUT
/backend/pipeline/todos/{id}pipeline.deals.edit. Omitted fields stay unchanged.
An activity’s
type cannot be changed after it is created.Delete an activity
DELETE
/backend/pipeline/todos/{id}pipeline.deals.edit. Returns { "success": true }.
Files
Attachments follow the two-phase pattern already used across the rest of the platform: first the file is sent to File Upload, then the resultingupload_id is linked to the deal.
1
Send the file
POST /backend/uploads with the file. The upload is born with status PENDING.2
Link it to the deal
POST /backend/pipeline/deals/{id}/files with the upload_id. The upload becomes ASSOCIATED.List files
GET
/backend/pipeline/deals/{id}/filespipeline.view.
Attach a file
POST
/backend/pipeline/deals/{id}/filespipeline.deals.edit.
Remove a file
DELETE
/backend/pipeline/deal-files/{id}pipeline.deals.edit. The {id} is the attachment id (DealFile), not the upload_id.
History (events)
Each deal keeps a persisted event log — it is not derived at read time. This is what feeds the deal’s history tab.GET
/backend/pipeline/deals/{id}/eventspipeline.view. Paginated response.
Query Parameters
Event types
Event author (actor_type)
The
title and description of an event are generated by the server in Portuguese and stored
as-is. Use event_type and metadata if you need to render your own English labels.