API reference
Objects
The workspace's own record types, such as a policy, an enrollment or a repair order. Each type has its own fields and, if it wants one, its own board of stages.
The object type
{
"id": "ot_01j8z6c2d4f6g8h0j2k4m6n8p0",
"key": "policy",
"name": {
"one": { "uz-Latn": "Polis", "ru": "Полис", "en": "Policy" },
"many": { "uz-Latn": "Polislar", "ru": "Полисы", "en": "Policies" }
},
"icon": "shield",
"has_pipeline": true,
"position": 0,
"archived": false,
"created_at": "2026-11-14T10:00:00Z",
"updated_at": "2026-11-14T10:00:00Z"
}key names the type in every path (/v1/object-types/policy/objects) and in its custom fields (entity=object:policy). It is 1 to 32 lowercase letters, digits or underscores, starts with a letter, and never changes. A type with has_pipeline has a board: its objects always sit on a stage of one of its pipelines. A type without one is a plain list. Types are archived, never deleted; an archived type's objects can be read but not changed (409 type_archived).
Object types
/v1/object-typesobjects:readThe active types: {"data": [ … ]}. archived=true also lists archived ones, for keys and members that manage fields.
/v1/object-types/{key}objects:read/v1/object-typesfields:manageFields: key, name (one and many, each by language), icon, has_pipeline (true by default). A board type starts with one pipeline named after it. The number of types is limited by the plan.
/v1/object-types/{key}fields:manageSend only what changes: name, icon, position, archived. The key cannot change.
The type's custom fields are managed like any others, with entity=object:<key> (see custom fields). Its pipelines come from GET /v1/pipelines?object_type=<key>.
The object
{
"id": "ob_01j8z7d3e5f7g9h1j3k5m7n9p1",
"type": "policy",
"number": 104,
"name": "KASKO 2026-104",
"amount": 450000000,
"currency": "UZS",
"pipeline_id": "pl_01j8z6c2d4f6g8h0j2k4m6n8q2",
"stage_id": "st_01j8z6c2d4f6g8h0j2k4m6n8r3",
"owner_id": "mb_01j8z5a0b2c4d6e8f0g2h4j6k8",
"owner": { "id": "mb_01j8z5a0b2c4d6e8f0g2h4j6k8", "name": "Madina Yusupova" },
"contact_id": "ct_01j8z6e4f6g8h0j2k4m6n8p0r2",
"contact": { "id": "ct_01j8z6e4f6g8h0j2k4m6n8p0r2", "name": "Dilnoza Karimova", "phones": ["+998901234567"] },
"company_id": null,
"company": null,
"lead_id": null,
"lead": null,
"tags": ["renewal"],
"custom": { "holder": ["ct_01j8z6e4f6g8h0j2k4m6n8p0r2"] },
"position": 1024,
"stage_entered_at": "2026-11-14T10:05:00Z",
"closed_at": null,
"loss_reason": "",
"has_next_step": true,
"next_step_at": "2026-11-16T09:00:00Z",
"created_at": "2026-11-14T10:00:00Z",
"updated_at": "2026-11-14T10:05:00Z"
}number counts up per type. amount is in the smallest currency unit, see Money. pipeline_id and stage_id are null on types without a board. An object links to at most one contact, one company and one lead; record link fields link it to more.
Endpoints
/v1/object-types/{key}/objectsobjects:readNewest first. Parameters: pipeline, stage, owner (a member id, me or unassigned), contact, company, lead, status (open, closed or all), next_step=none (open objects without an open task), q (search in the name, or #104 for a number), sort=position (board order), include=summary (the first page also carries summary with count and the sum of amounts), limit, cursor.
/v1/objectsobjects:readThe objects of every active type linked to one record: send contact, company or lead (one is required). The other list parameters work here too.
/v1/object-types/{key}/boardobjects:readThe board of a type with a pipeline: {"type", "pipeline", "columns": [{"stage_id", "count", "sum", "objects"}]}, up to 50 objects a column in board order. pipeline picks one of the type's pipelines (the first by default); the list filters apply. A type without a board answers 409 no_pipeline.
/v1/object-types/{key}/objectsobjects:writeFields: name, amount, currency (the workspace currency by default), pipeline_id, stage_id (the pipeline's first stage by default), owner_id (a member id), contact_id, company_id, lead_id, tags, custom, position. Linked records must be visible to the key. The number of objects is limited by the plan. Sends object.created.
/v1/objects/{id}objects:read/v1/objects/{id}objects:writeSend only the fields to change; null clears owner_id, contact_id, company_id and lead_id. Changing stage_id moves the object: the stage's requirements apply like on leads, and a lost stage takes loss_reason. Sends object.updated and the specific events, such as object.stage_changed.
/v1/objects/{id}objects:writeMoves the object to the trash and sends object.deleted.
/v1/objects/{id}/restoreobjects:writeBrings a deleted object back and sends object.restored.