Skip to content

ReferenceResources

Collections

A collection is a reusable checklist: the documents and answers you ask an end customer for, the rule each must meet, and how the request reaches them. Create and change collections, read how they are doing, preview what the person sees, and move collections to and from Bynn in Bynn’s own shape.

Updated

Ask about this pageRead this page as Markdown

The collection object

  • idstring

    The collection’s id, starting with col_.

  • namestring

    Its name, as members see it.

  • descriptionstring

    What it is for; null when it has none.

  • requirementsarray

    What it asks for, in order. Each requirement is a document, an identity verification or a question, named as the checklist names it: its key, its title and instructions (null when none) in the default language, the document types it accepts ([{"type": "passport"}]), whether it is required, and asked_when, its condition in words (null when it is always asked). A member of a group of alternatives is never required alone: its group (key, title, choose, required) says how many of the group the person sends and whether the group is required; group is null for a requirement on its own. Required items make the checklist’s count; optional ones are counted apart. The list answers requirement_count and required_count in its place unless you ask to expand it.

  • requirement_countinteger

    How many requirements it holds, group members included.

  • required_countinteger

    How many it asks for at least: each required requirement, and a required group’s choose.

  • channelenum

    How a request reaches the person: email, sms, email_and_sms or link.

  • remindersobject

    The reminder schedule: first_after_days, then_every_days, before_expiry and max, as the settings answer it.

  • reminders_in_wordsstring

    The reminder schedule in words.

  • expiry_daysinteger

    How many days a request’s link works.

  • cases_usinginteger

    How many cases use it.

  • policy_idsarray

    The policies the whole collection is checked against.

  • requirement_policy_idsobject

    The policies each requirement is checked against, by requirement id.

  • stateenum

    draft, active or archived.

  • versioninteger

    The latest published version; 0 for a draft never published. Requests keep the version they were sent with.

  • published_atstring

    When the latest version was published; null for a draft never published.

  • archived_atstring

    When it was archived; null unless it is.

  • created_atstring

    When it was made.

The calls with in Bynn’s shape or definition in their name read and write a collection exactly as Bynn’s collections API does, with Bynn’s key names, so a collection made in either moves to the other unchanged. The planner turns a description in words into a collection, or a request into changes to one; nothing it proposes is saved until a member saves it.

A collection
{
  "id": "col_5Gk3Tm7",
  "object": "collection",
  "name": "Mortgage application",
  "description": "Identity, income and address for a mortgage of up to 35 years.",
  "requirements": [
    {
      "id": "rqm_1Pa6Ws3",
      "key": "passport_or_national_id_card",
      "kind": "identity",
      "title": "Passport or national ID card",
      "instructions": "Valid for at least 30 more days",
      "accepts": [{ "type": "passport" }, { "type": "id_card" }],
      "required": true,
      "group": null,
      "asked_when": null
    },
    {
      "id": "rqm_4Yc2Hn8",
      "key": "payslips",
      "kind": "document",
      "title": "Payslips",
      "instructions": "The last 3 months, one each",
      "accepts": [{ "type": "payslip" }],
      "required": true
    },
    {
      "id": "rqm_7Lq9Dz1",
      "key": "bank_statements",
      "kind": "document",
      "title": "Bank statements",
      "instructions": "The last 3 months, the account the salary is paid into",
      "accepts": [{ "type": "bank_statements" }],
      "required": true
    },
    {
      "id": "rqm_2Bv5Kt6",
      "key": "proof_of_address",
      "kind": "document",
      "title": "Proof of address",
      "instructions": "A statement or a bill, dated in the last 3 months",
      "accepts": [{ "type": "bank_statements" }, { "type": "invoice" }],
      "required": false
    }
  ],
  "channel": "email_and_sms",
  "reminders": { "first_after_days": 2, "then_every_days": 3, "before_expiry": true, "max": 4 },
  "reminders_in_words": "After 2 days, then every 3 days, and the day before the link expires. At most 4.",
  "expiry_days": 14,
  "cases_using": 38,
  "policy_ids": ["pol_8Hm3Qr5"],
  "requirement_policy_ids": { "rqm_4Yc2Hn8": ["pol_8Hm3Qr5"] },
  "created_at": "2026-09-02T08:15:40Z",
  "updated_at": "2026-11-20T15:41:02Z",
  "state": "active",
  "version": 5,
  "published_at": "2026-11-20T15:41:02Z",
  "archived_at": null
}

Create a collection

Changes data

POST/v1/collections

A new reusable checklist: its name, what it is for, and its requirements.

Who may
Owner, Admin and Analyst
CLI
kontiga collections create --name <name> [--description <text>] [--requirements <json>]
MCP tool
create_collection
Returns
The collection, ready to send.

Parameters

  • namestringRequired

    Its name. At most 120 characters.

  • descriptionstringDefault ""

    What it is for. At most 500 characters.

  • requirementsarray of objectDefault []

    What to ask for, in order, up to 50. Each has a label, a kind (document, identity or question), the document types it accepts (ids from the list of document types), its rule in words and whether it is required (it is unless you say false). The collection is made ready to send (active, version 1) when its checklist passes validation; otherwise it stays a draft, and validating it lists what to change.

curl -X POST https://api.kontiga.com/v1/collections \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Tenancy check",
    "description": "Identity and income for a new tenant.",
    "requirements": [
      {
        "label": "Passport or national ID card",
        "kind": "identity",
        "accepts": [
          "passport",
          "national_id_card"
        ]
      },
      {
        "label": "Payslips",
        "kind": "document",
        "accepts": [
          "payslip"
        ],
        "rule": "The last 3 months"
      }
    ]
  }'

POST /v1/collections

Response, 201 Created
{
  "id": "col_9Rf2Lx4",
  "object": "collection",
  "name": "Tenancy check",
  "description": "Identity and income for a new tenant.",
  "requirements": [
    {
      "id": "rqm_3Gw8Mb2",
      "key": "passport_or_national_id_card",
      "kind": "identity",
      "title": "Passport or national ID card",
      "instructions": null,
      "accepts": [{ "type": "passport" }, { "type": "id_card" }],
      "required": true
    },
    {
      "id": "rqm_6Ns1Vy7",
      "key": "payslips",
      "kind": "document",
      "title": "Payslips",
      "instructions": "The last 3 months",
      "accepts": [{ "type": "payslip" }],
      "required": true
    }
  ],
  "channel": "email",
  "reminders": { "first_after_days": 2, "then_every_days": 7, "before_expiry": true, "max": 6 },
  "reminders_in_words": "After 2 days, then every 7 days, and the day before the link expires. At most 6.",
  "expiry_days": 30,
  "cases_using": 0,
  "policy_ids": [],
  "requirement_policy_ids": {},
  "created_at": "2026-11-27T10:12:30Z",
  "updated_at": "2026-11-27T10:12:30Z",
  "state": "active",
  "version": 1,
  "published_at": "2026-11-27T10:12:30Z",
  "archived_at": null
}

List collections

Reads only

GET/v1/collections

The reusable checklists: what is asked for, and how.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections list [--expand requirements] [--counts] [--limit <1-200>] [--cursor <next_cursor>]
MCP tool
list_collections
Returns
The collections, newest first, a page at a time (next_cursor): each with how many requirements it holds and requires, its state and version; with expand, each requirement too; with counts, how many the workspace holds in each state.

Parameters

  • expandenum

    requirements gives each collection’s requirements too; without it, a page answers their counts (requirement_count, required_count), which keeps a page small.

  • countsboolean

    true adds counts: how many collections the workspace holds in all and in each state, in one count.

  • limitinteger

    How many collections a page holds, 1 to 200; 100 when left out. A page also stops at about 2 MB of collections, so a page of large ones may hold fewer than limit while next_cursor goes on. A workspace reads at most 4 such pages at once (the list, Bynn’s definitions, the versions); one more answers 429 rate_limited with details.reason collection_reads_in_flight and a wait of under a second.

  • cursorstring

    The next_cursor of the page before, for the page after it.

curl -X GET https://api.kontiga.com/v1/collections \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections

Response, 200 OK
{
  "items": [
    {
      "id": "col_9Rf2Lx4",
      "object": "collection",
      "name": "Tenancy check",
      "description": "Identity and income for a new tenant.",
      "requirement_count": 2,
      "required_count": 2,
      "channel": "email",
      "reminders": { "first_after_days": 2, "then_every_days": 7, "before_expiry": true, "max": 6 },
      "reminders_in_words": "After 2 days, then every 7 days, and the day before the link expires. At most 6.",
      "expiry_days": 30,
      "cases_using": 0,
      "policy_ids": [],
      "requirement_policy_ids": {},
      "updated_at": "2026-11-27T10:12:30Z",
      "state": "active",
      "version": 1
    }
  ],
  "next_cursor": "col_9Rf2Lx4",
  "counts": { "all": 12, "draft": 3, "active": 8, "archived": 1 }
}

Read a collection

Reads only

GET/v1/collections/{collection_id}

One checklist: its requirements in order, their rules, reminders, expiry and linked policies; or one published version as it was published.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections get <collection_id> [--version <n>]
MCP tool
get_collection
Returns
The collection as it stands, or the version asked for.

Parameters

  • collection_idid (col_)Required

    The collection to read, as it stands. In the path.

  • versioninteger

    A published version, to read it exactly as it was published. At least 1.

curl -X GET https://api.kontiga.com/v1/collections/col_5Gk3Tm7 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/{collection_id}

Response, 200 OK
{
  "id": "col_5Gk3Tm7",
  "object": "collection",
  "name": "Mortgage application",
  "description": "Identity, income and address for a mortgage of up to 35 years.",
  "requirements": [
    {
      "id": "rqm_1Pa6Ws3",
      "key": "passport_or_national_id_card",
      "kind": "identity",
      "title": "Passport or national ID card",
      "instructions": "Valid for at least 30 more days",
      "accepts": [{ "type": "passport" }, { "type": "id_card" }],
      "required": true,
      "group": null,
      "asked_when": null
    },
    {
      "id": "rqm_4Yc2Hn8",
      "key": "payslips",
      "kind": "document",
      "title": "Payslips",
      "instructions": "The last 3 months, one each",
      "accepts": [{ "type": "payslip" }],
      "required": true
    },
    {
      "id": "rqm_7Lq9Dz1",
      "key": "bank_statements",
      "kind": "document",
      "title": "Bank statements",
      "instructions": "The last 3 months, the account the salary is paid into",
      "accepts": [{ "type": "bank_statements" }],
      "required": true
    },
    {
      "id": "rqm_2Bv5Kt6",
      "key": "proof_of_address",
      "kind": "document",
      "title": "Proof of address",
      "instructions": "A statement or a bill, dated in the last 3 months",
      "accepts": [{ "type": "bank_statements" }, { "type": "invoice" }],
      "required": false
    }
  ],
  "channel": "email_and_sms",
  "reminders": { "first_after_days": 2, "then_every_days": 3, "before_expiry": true, "max": 4 },
  "reminders_in_words": "After 2 days, then every 3 days, and the day before the link expires. At most 4.",
  "expiry_days": 14,
  "cases_using": 38,
  "policy_ids": ["pol_8Hm3Qr5"],
  "requirement_policy_ids": { "rqm_4Yc2Hn8": ["pol_8Hm3Qr5"] },
  "created_at": "2026-09-02T08:15:40Z",
  "updated_at": "2026-11-20T15:41:02Z",
  "state": "active",
  "version": 5,
  "published_at": "2026-11-20T15:41:02Z",
  "archived_at": null
}

Add a requirement

Changes data

POST/v1/collections/{collection_id}/requirements

Add one thing to ask for at the end of a checklist.

Who may
Owner, Admin and Analyst
CLI
kontiga collections add-requirement <collection_id> --label <text> --kind <document|identity|question> [--accepts <type,...>] [--rule <text>] [--required=false] [--answer <yes_no|dropdown|number|date|text|...>] [--options <a,b,...>]
MCP tool
add_requirement
Returns
The collection with the requirement added.

Parameters

  • labelstringRequired

    What the person is asked for, in a few words. At most 120 characters.

  • kindenumRequired

    A document, an identity verification or a question. One of document, identity, question.

  • acceptsarray of stringDefault []

    The document types that satisfy it, from the list of document types. At most 20 items.

  • rulestringDefault ""

    What it must meet, in words, such as how recent it is or how many months it covers. At most 240 characters.

  • requiredbooleanDefault true

    false makes it optional. Optional items are shown apart and do not hold the checklist.

  • answerenum

    A question’s kind of answer: yes_no, dropdown (one of options), multi_select, number, currency, date, text (when left out), textarea, email, phone or country. A yes or no question, or one of a list, lets a later entry be asked only when it holds. One of text, textarea, email, url, phone, number, date, dropdown, multi_select, yes_no, country, currency.

  • optionsarray of string

    For dropdown and multi_select: the options, in order, up to 100.

  • collection_idid (col_)Required

    The collection to add it to. It goes at the end of the draft; requests ask for it once you publish the collection. In the path.

curl -X POST https://api.kontiga.com/v1/collections/col_5Gk3Tm7/requirements \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Employment contract",
    "kind": "document",
    "accepts": [
      "contract"
    ],
    "rule": "Signed by both sides",
    "required": false
  }'

POST /v1/collections/{collection_id}/requirements

Response, 200 OK
{
  "id": "col_5Gk3Tm7",
  "object": "collection",
  "name": "Mortgage application",
  "description": "Identity, income and address for a mortgage of up to 35 years.",
  "requirements": [
    {
      "id": "rqm_1Pa6Ws3",
      "key": "passport_or_national_id_card",
      "kind": "identity",
      "title": "Passport or national ID card",
      "instructions": "Valid for at least 30 more days",
      "accepts": [{ "type": "passport" }, { "type": "id_card" }],
      "required": true,
      "group": null,
      "asked_when": null
    },
    {
      "id": "rqm_4Yc2Hn8",
      "key": "payslips",
      "kind": "document",
      "title": "Payslips",
      "instructions": "The last 3 months, one each",
      "accepts": [{ "type": "payslip" }],
      "required": true
    },
    {
      "id": "rqm_7Lq9Dz1",
      "key": "bank_statements",
      "kind": "document",
      "title": "Bank statements",
      "instructions": "The last 3 months, the account the salary is paid into",
      "accepts": [{ "type": "bank_statements" }],
      "required": true
    },
    {
      "id": "rqm_2Bv5Kt6",
      "key": "proof_of_address",
      "kind": "document",
      "title": "Proof of address",
      "instructions": "A statement or a bill, dated in the last 3 months",
      "accepts": [{ "type": "bank_statements" }, { "type": "invoice" }],
      "required": false
    }
  ],
  "channel": "email_and_sms",
  "reminders": { "first_after_days": 2, "then_every_days": 3, "before_expiry": true, "max": 4 },
  "reminders_in_words": "After 2 days, then every 3 days, and the day before the link expires. At most 4.",
  "expiry_days": 14,
  "cases_using": 38,
  "policy_ids": ["pol_8Hm3Qr5"],
  "requirement_policy_ids": { "rqm_4Yc2Hn8": ["pol_8Hm3Qr5"] },
  "created_at": "2026-09-02T08:15:40Z",
  "updated_at": "2026-11-20T15:41:02Z",
  "state": "active",
  "version": 5,
  "published_at": "2026-11-20T15:41:02Z",
  "archived_at": null
}

Duplicate a collection

Changes data

POST/v1/collections/{collection_id}/duplicate

A copy as a draft, named “<name> (Copy)” unless you name it, with every document and every setting it holds, the questions only Kontiga asks and each requirement’s strictness included. Policies linked to the original stay on it.

Who may
Owner, Admin and Analyst
CLI
kontiga collections duplicate <collection_id> [--name <text>] [--description <text>]
MCP tool
duplicate_collection
Returns
The copy, a draft, as get_collection reads it.

Parameters

  • collection_idid (col_)Required

    The collection to copy. The copy is a draft with every document and setting. Policies stay on the original only. In the path.

  • namestring

    The copy’s name. It is the original’s name with “(Copy)” after it unless you give one.

  • descriptionstring

    The copy’s description. The original’s unless you give one.

curl -X POST https://api.kontiga.com/v1/collections/col_5Gk3Tm7/duplicate \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/collections/{collection_id}/duplicate

Response, 201 Created
{
  "id": "col_3Xm7Kd5",
  "object": "collection",
  "name": "Mortgage application (Copy)",
  "description": "Identity, income and address for a mortgage of up to 35 years.",
  "requirements": [
    { "id": "rqm_2Hq7Wd4", "label": "Passport or national ID card", "kind": "identity", "accepts": ["passport", "id_card"], "rule": "Valid for at least 30 more days", "required": true, "group": null },
    { "id": "rqm_5Kd3Tn8", "label": "Payslips", "kind": "document", "accepts": ["payslip"], "rule": "The last 3 months, one each", "required": true, "group": null }
  ],
  "requirement_count": 2,
  "required_count": 2,
  "channel": "email",
  "reminders": "After 2 days, then every 7 days, and the day before the link expires. At most 6.",
  "expiry_days": 30,
  "cases_using": 0,
  "updated_at": "2026-11-27T10:35:02Z",
  "state": "draft",
  "version": 0,
  "policy_ids": [],
  "requirement_policy_ids": {}
}

The answer is the copy, as collections.get reads it: a draft, under its own col_ id.

Delete a collection

Changes data

DELETE/v1/collections/{collection_id}

Remove a collection and its documents. New requests cannot use it; a workflow step that names it asks for nothing from then on, so the console lists those workflows first.

Who may
Owner, Admin and Analyst
CLI
kontiga collections delete <collection_id>
MCP tool
delete_collection
Returns
When it was removed, and the workflows that still name it.

Parameters

  • collection_idid (col_)Required

    The collection to delete. Refused while a request on it is still open; requests already sent keep their checklist, and no new request can use it. A collection no request or case ever used is removed with its versions; one that was used is kept for its requests, and its versions still count in the workspace’s storage. In the path.

curl -X DELETE https://api.kontiga.com/v1/collections/col_9Rf2Lx4 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

DELETE /v1/collections/{collection_id}

Response, 200 OK
{
  "object": "deleted_collection",
  "collection_id": "col_9Rf2Lx4",
  "deleted_at": "2026-11-27T10:40:18Z",
  "used_by": ["wf_6Gn2Rt8"]
}

Read how collections are doing

Reads only

GET/v1/collections/stats

For each collection: the cases using it, the requests sent from it, how many are still open or expired, when the last one went out, and how many of the requests sent in the last 30 days were completed (the figure Insights shows for the collection).

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections stats [--collection-id <collection_id> | --collection-ids <collection_id,...>]
MCP tool
get_collection_stats
Returns
One line of figures per collection, or for the ones asked for.

Parameters

  • collection_idid (col_)

    One collection. Every collection when left out.

  • collection_idsarray of id (col_)

    Several collections, comma-separated, up to 200: a page of the list. Use one or the other.

curl -X GET "https://api.kontiga.com/v1/collections/stats?collection_id=col_5Gk3Tm7" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/stats

Response, 200 OK
{
  "items": [
    {
      "object": "collection_stats",
      "collection_id": "col_5Gk3Tm7",
      "cases_using": 38,
      "sent": 41,
      "completed": 33,
      "open": 6,
      "expired": 2,
      "period_days": 30,
      "sent_in_period": 12,
      "completed_in_period": 9,
      "completion_rate": 75.0,
      "last_sent_at": "2026-11-26T16:05:40Z"
    }
  ],
  "next_cursor": null
}

List document types

Reads only

GET/v1/collections/document-types

The 84 document types a requirement can ask for, each with its id, its label and its category, in the catalogue’s order.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections document-types
MCP tool
list_document_types
Returns
Each type’s id, label and category (identity, financial, business and the rest).

No parameters.

curl -X GET https://api.kontiga.com/v1/collections/document-types \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/document-types

Response, 200 OK
{
  "items": [
    { "id": "passport", "label": "Passport", "category": "identity", "labels": { "en": "Passport", "pt": "Passaporte", "es": "Pasaporte", "ar": "جواز السفر", "zht": "護照", "zhs": "护照", "fr": "Passeport", "de": "Reisepass", "ja": "パスポート", "hi": "पासपोर्ट", "ru": "Паспорт", "sv": "Pass" } },
    { "id": "drivers_license", "label": "Driver's License", "category": "identity" },
    { "id": "bank_statements", "label": "Bank Statements", "category": "financial" },
    { "id": "payslip", "label": "Payslip", "category": "financial" },
    { "id": "business_registration", "label": "Business Registration", "category": "business" }
  ],
  "next_cursor": null
}

Read a collection's request settings

Reads only

GET/v1/collections/{collection_id}/settings

How requests from a collection are sent: the channel, the reminder schedule, when the link expires, the brand kit, who may open the link, the fallback language and the purpose the person reads, with each requirement’s strictness and rules.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections settings <collection_id>
MCP tool
get_collection_settings
Returns
The collection’s request settings, its state and version, the brand kits to choose from, and each requirement’s checks.

Parameters

  • collection_idid (col_)Required

    The collection whose request settings to read. In the path.

curl -X GET https://api.kontiga.com/v1/collections/col_5Gk3Tm7/settings \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/{collection_id}/settings

Response, 200 OK
{
  "object": "collection_settings",
  "collection_id": "col_5Gk3Tm7",
  "state": "active",
  "version": 6,
  "purpose": "We need these to assess your mortgage application.",
  "channel": "email_and_sms",
  "reminders": {
    "first_after_days": 2,
    "then_every_days": 3,
    "before_expiry": true,
    "max": 4
  },
  "reminders_in_words": "After 2 days, then every 3 days, and the day before the link expires. At most 4.",
  "expiry_days": 14,
  "access": "code",
  "language": "en",
  "brand_kit": {
    "id": "bk_2Tz7Cn4",
    "name": "Harbourline",
    "sender_name": "Harbourline Lending",
    "reply_to": "mortgages@harbourline.example",
    "is_default": true
  },
  "brand_kits": [
    { "id": "bk_2Tz7Cn4", "name": "Harbourline", "sender_name": "Harbourline Lending", "reply_to": "mortgages@harbourline.example", "is_default": true }
  ],
  "requirements": [
    {
      "requirement_id": "rqm_4Yc2Hn8",
      "strictness": "advise",
      "files": { "min": 3, "max": 3 },
      "rules": [
        { "rule": "covers_consecutive_months", "words": "3 months in a row, the latest from the last 45 days" },
        { "rule": "name_matches", "words": "The name matches the person in People" }
      ],
      "asked_when": null
    }
  ],
  "updated_at": "2026-11-20T15:41:02Z"
}

Change request settings

Changes data

PATCH/v1/collections/{collection_id}

Set how requests from a collection are sent: the channel, the reminders, when the link expires, the brand kit, who may open the link, the fallback language and the purpose. Requests already sent keep theirs.

Who may
Owner, Admin and Analyst
CLI
kontiga collections update <collection_id> [--channel <email|sms|email_and_sms|link>] [--expiry-days <1-365>] [--first-reminder-days <0-30>] [--reminder-every-days <0-30>] [--remind-before-expiry=false] [--max-reminders <1-10>] [--access <link|code|identity>] [--brand-kit-id <bk_id>] [--language <en|pt|es|ar|zht|zhs|fr|de|ja|hi|ru|sv>] [--purpose <text>]
MCP tool
update_collection_settings
Returns
The collection’s request settings as they now are.

Parameters

  • collection_idid (col_)Required

    The collection to change. Give only what changes: it applies to the next request at once, and requests already sent keep their settings. A value refused changes nothing. In the path.

  • channelenum

    How a request reaches the person. link sends nothing and gives you the link for your own channel. One of email, sms, email_and_sms, link.

  • expiry_daysinteger

    How many days the link works. At least 1, at most 365.

  • first_reminder_daysinteger

    Days until the first reminder. 0 sends no reminders. At most 30.

  • reminder_every_daysinteger

    Days between later reminders. At most 30.

  • remind_before_expiryboolean

    Also remind the day before the link expires.

  • max_remindersinteger

    The most reminders one request gets. At least 1, at most 10.

  • accessenum

    Who may open the link: anyone with it (link), with a code sent to them (code), or after verifying their identity (identity).

  • brand_kit_idid (bk_)

    The brand kit the person sees, from the settings' brand_kits.

  • languageenum

    The page’s language when the person’s own is not offered. One of en, pt, es, ar, zht, zhs, fr, de, ja, hi, ru, sv.

  • purposestring

    Why you ask, in a sentence the person reads at the top. At most 300 characters.

curl -X PATCH https://api.kontiga.com/v1/collections/col_5Gk3Tm7 \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel": "email_and_sms",
    "expiry_days": 14,
    "first_reminder_days": 2,
    "reminder_every_days": 3,
    "max_reminders": 4
  }'

PATCH /v1/collections/{collection_id}

Response, 200 OK
{
  "object": "collection_settings",
  "collection_id": "col_5Gk3Tm7",
  "state": "active",
  "version": 6,
  "purpose": "We need these to assess your mortgage application.",
  "channel": "email_and_sms",
  "reminders": {
    "first_after_days": 2,
    "then_every_days": 3,
    "before_expiry": true,
    "max": 4
  },
  "reminders_in_words": "After 2 days, then every 3 days, and the day before the link expires. At most 4.",
  "expiry_days": 14,
  "access": "code",
  "language": "en",
  "brand_kit": {
    "id": "bk_2Tz7Cn4",
    "name": "Harbourline",
    "sender_name": "Harbourline Lending",
    "reply_to": "mortgages@harbourline.example",
    "is_default": true
  },
  "brand_kits": [
    { "id": "bk_2Tz7Cn4", "name": "Harbourline", "sender_name": "Harbourline Lending", "reply_to": "mortgages@harbourline.example", "is_default": true }
  ],
  "requirements": [
    {
      "requirement_id": "rqm_4Yc2Hn8",
      "strictness": "advise",
      "files": { "min": 3, "max": 3 },
      "rules": [
        { "rule": "covers_consecutive_months", "words": "3 months in a row, the latest from the last 45 days" },
        { "rule": "name_matches", "words": "The name matches the person in People" }
      ],
      "asked_when": null
    }
  ],
  "updated_at": "2026-11-20T15:41:02Z"
}

Set a requirement's strictness

Changes data

PATCH/v1/collections/{collection_id}/requirements/{requirement_id}

How strictly a requirement’s documents are held while the person uploads: off, advise (told what to fix, may keep the file) or enforce (must send one that passes).

Who may
Owner, Admin and Analyst
CLI
kontiga collections set-strictness <collection_id> <requirement_id> --strictness <off|advise|enforce>
MCP tool
set_requirement_strictness
Returns
The collection’s settings, with the requirement’s new strictness.

Parameters

  • collection_idid (col_)Required

    The collection the requirement is in. In the path.

  • requirement_idid (rqm_)Required

    The requirement to change. The change is made in the draft and applies once you publish the collection. In the path.

  • strictnessenumRequired

    off refuses only files that cannot be opened or used. advise tells the person what to fix and lets them keep the file with a note. enforce asks for a file that passes. A gap against a policy never refuses a file.

curl -X PATCH https://api.kontiga.com/v1/collections/col_5Gk3Tm7/requirements/rqm_4Yc2Hn8 \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "strictness": "advise"
  }'

PATCH /v1/collections/{collection_id}/requirements/{requirement_id}

Response, 200 OK
{
  "object": "collection_settings",
  "collection_id": "col_5Gk3Tm7",
  "state": "active",
  "version": 6,
  "purpose": "We need these to assess your mortgage application.",
  "channel": "email_and_sms",
  "reminders": {
    "first_after_days": 2,
    "then_every_days": 3,
    "before_expiry": true,
    "max": 4
  },
  "reminders_in_words": "After 2 days, then every 3 days, and the day before the link expires. At most 4.",
  "expiry_days": 14,
  "access": "code",
  "language": "en",
  "brand_kit": {
    "id": "bk_2Tz7Cn4",
    "name": "Harbourline",
    "sender_name": "Harbourline Lending",
    "reply_to": "mortgages@harbourline.example",
    "is_default": true
  },
  "brand_kits": [
    { "id": "bk_2Tz7Cn4", "name": "Harbourline", "sender_name": "Harbourline Lending", "reply_to": "mortgages@harbourline.example", "is_default": true }
  ],
  "requirements": [
    {
      "requirement_id": "rqm_4Yc2Hn8",
      "strictness": "advise",
      "files": { "min": 3, "max": 3 },
      "rules": [
        { "rule": "covers_consecutive_months", "words": "3 months in a row, the latest from the last 45 days" },
        { "rule": "name_matches", "words": "The name matches the person in People" }
      ],
      "asked_when": null
    }
  ],
  "updated_at": "2026-11-20T15:41:02Z"
}

Preview what the person sees

Reads only

GET/v1/collections/{collection_id}/preview

The portal’s checklist for a collection as the end customer reads it, in the brand kit’s name, and the message they get when a linked policy finds something they can add.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections preview <collection_id> [--locale <en|pt|es|ar|zht|zhs|fr|de|ja|hi|ru|sv>]
MCP tool
preview_collection
Returns
In the language asked for, as the portal writes it: the heading, the introduction, the purpose, each line with its instructions (a group of alternatives as one line, a line asked under a condition marked), the expiry line, the text’s direction, and the fixable policy gap message, if any.

Parameters

  • collection_idid (col_)Required

    The collection to preview. In the path.

  • localeenum

    Optional: one of the 12 languages (en, pt, es, ar, zht, zhs, fr, de, ja, hi, ru, sv). The page’s words (the heading, the introduction, how long the link lasts) are the portal’s own in it, and direction says how it reads (rtl for Arabic); each line is in it too, a text not written in it in the collection’s default language. Without it, the default language. One line an entry, as the portal lays it out: a group of alternatives is one line naming them (no requirement_id, its group key), and a line asked only under a condition is conditional, shown once the condition holds.

curl -X GET "https://api.kontiga.com/v1/collections/col_5Gk3Tm7/preview?locale=en" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/{collection_id}/preview

Response, 200 OK
{
  "object": "collection_preview",
  "collection_id": "col_5Gk3Tm7",
  "language": "en",
  "direction": "ltr",
  "brand_name": "Harbourline Lending",
  "heading": "Harbourline Lending needs some documents from you",
  "intro": "Harbourline Lending is asking for 3 things for your mortgage application. Each one is checked as you send it, so you know at once if anything needs fixing.",
  "purpose": "for your mortgage application",
  "items": [
    { "requirement_id": null, "key": "identity", "title": "Proof of identity", "instructions": "Passport or National ID card", "optional": false, "conditional": false },
    { "requirement_id": "rqm_4Yc2Hn8", "key": "payslips", "title": "Payslips", "instructions": "Your payslips for the last 3 months, one for each month.", "optional": false, "conditional": false },
    { "requirement_id": "rqm_2Bv5Kt6", "key": "employer_letter", "title": "Letter from your employer", "instructions": "Letter", "optional": true, "conditional": true }
  ],
  "expires_in_words": "This link expires 14 days after it is sent.",
  "policy_gap": {
    "requirement_id": "rqm_4Yc2Hn8",
    "requirement_label": "Payslips",
    "policy_id": "pol_8Hm3Qr5",
    "policy_name": "Income verification standard",
    "passage_number": "3.2",
    "passage_heading": "Payslips",
    "message": "This payslip does not show the employer's tax number. Please send one that does, or add a note.",
    "file_name": "payslip-sep-2026.pdf"
  }
}

List collections in Bynn's shape

Reads only

GET/v1/collections/definitions

Every collection of the workspace as Bynn’s collections API returns it, the newest made first: its status, its documents with every setting, and the counts of required and optional ones.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections definitions [--status <draft|active|archived>] [--search <text>] [--limit <1-200>] [--cursor <next_cursor>]
MCP tool
list_collection_definitions
Returns
Each collection with its Kontiga id and its Bynn API object, 100 a page.

Parameters

  • statusenum

    Only collections in this status. One of draft, active, archived.

  • searchstring

    Words in the name or the description. At most 200 characters.

  • limitinteger

    How many collections a page holds, 1 to 200; 100 when left out. A page also stops at about 2 MB of collections, so a page of large ones may hold fewer than limit while next_cursor goes on. A workspace reads at most 4 such pages at once (the list, Bynn’s definitions, the versions); one more answers 429 rate_limited with details.reason collection_reads_in_flight and a wait of under a second.

  • cursorstring

    The next_cursor of the page before. A search may leave a page with fewer than limit while next_cursor goes on.

curl -X GET "https://api.kontiga.com/v1/collections/definitions?status=active" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/definitions

Response, 200 OK
{
  "items": [
    {
      "collection_id": "col_5Gk3Tm7",
      "source": "kontiga",
      "used_by": [{ "workflow_id": "wf_3Kd8Pn2", "workflow_name": "Mortgage review", "node_id": "collect_documents", "label": "Collect the applicant's documents", "timeout": 14, "timeout_unit": "days" }],
      "definition": {
        "id": "col_5Gk3Tm7",
        "name": "Mortgage application",
        "status": "active",
        "documents": [],
        "createdAt": "2026-03-02T09:00:00Z",
        "updatedAt": "2026-11-20T15:41:02Z",
        "totalRequired": 3,
        "totalOptional": 1
      }
    }
  ],
  "next_cursor": null
}

Read a collection's definition

Reads only

GET/v1/collections/{collection_id}/definition

One collection in full, in Bynn’s shape: every document with its type, whether it is required, the files it takes, its sides, its acceptance check, its fraud check and the fields read from it, in order, the removed ones too.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections definition <collection_id>
MCP tool
get_collection_definition
Returns
The definition, the Bynn API object for it, how it came in, and the requirements only Kontiga has.

Parameters

  • collection_idid (col_)Required

    The collection to read. In the path.

curl -X GET https://api.kontiga.com/v1/collections/col_5Gk3Tm7/definition \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/{collection_id}/definition

Response, 200 OK
{
  "object": "collection_definition",
  "collection_id": "col_5Gk3Tm7",
  "source": "kontiga",
  "imported_at": null,
  "warnings": [],
  "kontiga_only": [
    { "requirement_id": "rqm_8Fh4Ze1", "label": "Purpose of the loan", "kind": "question" }
  ],
  "deleted_at": null,
  "used_by": [{ "workflow_id": "wf_3Kd8Pn2", "workflow_name": "Mortgage review", "node_id": "collect_documents", "label": "Collect the applicant's documents", "timeout": 14, "timeout_unit": "days" }],
  "api": {
    "id": "col_5Gk3Tm7",
    "name": "Mortgage application",
    "description": "Identity, income and address for a mortgage of up to 35 years.",
    "status": "active",
    "documents": [
      {
        "id": "doc_req_Pq7xB3nKs9Wz2LmR5vTc8YdH",
        "name": "Passport",
        "description": "The page with your photo.",
        "documentType": "passport",
        "documentTypeLabel": "Passport",
        "mandatory": true,
        "allowMultiple": false,
        "fileRestrictions": ["camera_only"],
        "requestSides": "front_only",
        "order": 1,
        "fraudDetectionEnabled": true
      },
      {
        "id": "doc_req_Sx9mR4tKw7Nq2VbL5cZh8DyP",
        "name": "Payslips",
        "description": "Your payslips for the last 3 months.",
        "documentType": "payslip",
        "documentTypeLabel": "Payslip",
        "mandatory": true,
        "allowMultiple": true,
        "fileRestrictions": ["pdf_only", "images_allowed"],
        "requestSides": null,
        "order": 2,
        "fraudDetectionEnabled": true,
        "ocrAnalysisEnabled": true,
        "ocrFields": [
          { "name": "employer_name", "overwriteIfExists": true },
          { "name": "net_pay", "overwriteIfExists": true }
        ]
      }
    ],
    "createdAt": "2026-03-02T09:00:00Z",
    "updatedAt": "2026-11-20T15:41:02Z",
    "totalRequired": 2,
    "totalOptional": 0
  }
}

Create a collection in Bynn's shape

Changes data

POST/v1/collections/definitions

Make a collection as Bynn’s editor creates one: a name, a description, draft or active, and its documents with every setting, in order. Nothing is made when one document is refused.

Who may
Owner, Admin and Analyst
CLI
kontiga collections create-definition --name <text> --description <text> [--status <draft|active>] [--documents <json>]
MCP tool
create_collection_definition
Returns
The collection made, in Bynn’s shape, with its Kontiga id.

Parameters

  • namestringRequired

    Its name.

  • descriptionstringRequired

    What it is for. Required, as Bynn requires it.

  • statusenum

    draft unless you say active.

  • documentsarray of object

    The documents in order, each with name, documentType (an id from the list of document types), documentTypeLabel, mandatory and its other settings. Nothing is made when one is refused.

curl -X POST https://api.kontiga.com/v1/collections/definitions \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Car loan application",
    "description": "Identity and income for a car loan of up to 5 years.",
    "status": "draft",
    "documents": [
      {
        "name": "Passport",
        "description": "The page with your photo.",
        "documentType": "passport",
        "documentTypeLabel": "Passport",
        "mandatory": true,
        "fileRestrictions": [
          "camera_only"
        ],
        "requestSides": "front_only",
        "fraudDetectionEnabled": true
      },
      {
        "name": "Payslips",
        "description": "Your payslips for the last 3 months.",
        "documentType": "payslip",
        "documentTypeLabel": "Payslip",
        "mandatory": true,
        "allowMultiple": true,
        "fraudDetectionEnabled": true
      }
    ]
  }'

POST /v1/collections/definitions

Response, 201 Created
{
  "object": "collection_definition",
  "collection_id": "col_5Gk3Tm7",
  "source": "kontiga",
  "imported_at": null,
  "warnings": [],
  "kontiga_only": [
    { "requirement_id": "rqm_8Fh4Ze1", "label": "Purpose of the loan", "kind": "question" }
  ],
  "deleted_at": null,
  "used_by": [{ "workflow_id": "wf_3Kd8Pn2", "workflow_name": "Mortgage review", "node_id": "collect_documents", "label": "Collect the applicant's documents", "timeout": 14, "timeout_unit": "days" }],
  "api": {
    "id": "col_5Gk3Tm7",
    "name": "Mortgage application",
    "description": "Identity, income and address for a mortgage of up to 35 years.",
    "status": "active",
    "documents": [
      {
        "id": "doc_req_Pq7xB3nKs9Wz2LmR5vTc8YdH",
        "name": "Passport",
        "description": "The page with your photo.",
        "documentType": "passport",
        "documentTypeLabel": "Passport",
        "mandatory": true,
        "allowMultiple": false,
        "fileRestrictions": ["camera_only"],
        "requestSides": "front_only",
        "order": 1,
        "fraudDetectionEnabled": true
      },
      {
        "id": "doc_req_Sx9mR4tKw7Nq2VbL5cZh8DyP",
        "name": "Payslips",
        "description": "Your payslips for the last 3 months.",
        "documentType": "payslip",
        "documentTypeLabel": "Payslip",
        "mandatory": true,
        "allowMultiple": true,
        "fileRestrictions": ["pdf_only", "images_allowed"],
        "requestSides": null,
        "order": 2,
        "fraudDetectionEnabled": true,
        "ocrAnalysisEnabled": true,
        "ocrFields": [
          { "name": "employer_name", "overwriteIfExists": true },
          { "name": "net_pay", "overwriteIfExists": true }
        ]
      }
    ],
    "createdAt": "2026-03-02T09:00:00Z",
    "updatedAt": "2026-11-20T15:41:02Z",
    "totalRequired": 2,
    "totalOptional": 0
  }
}

Save a collection's definition

Changes data

PUT/v1/collections/{collection_id}/definition

Change a collection as Bynn’s editor saves it: the name, description and status when given; with documents, each one named by id is updated with every field, the others are added, and any not sent is removed. Nothing is saved when one document is refused.

Who may
Owner, Admin and Analyst
CLI
kontiga collections save-definition <collection_id> [--name <text>] [--description <text>] [--status <draft|active|archived>] [--documents <json>]
MCP tool
save_collection_definition
Returns
The definition as it now is.

Parameters

  • collection_idid (col_)Required

    The collection to save. In the path.

  • namestring

    A new name.

  • descriptionstring

    A new description.

  • statusenum

    A new status. One of draft, active, archived.

  • documentsarray of object

    The full list, in order. A document with the id of one already there updates it with every field; one without an id is added; one left out is removed. Nothing is saved when one is refused.

curl -X PUT https://api.kontiga.com/v1/collections/col_5Gk3Tm7/definition \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "active",
    "documents": [
      {
        "name": "Passport",
        "description": "The page with your photo.",
        "documentType": "passport",
        "documentTypeLabel": "Passport",
        "mandatory": true,
        "fileRestrictions": [
          "camera_only"
        ],
        "requestSides": "front_only",
        "fraudDetectionEnabled": true
      },
      {
        "name": "Payslips",
        "description": "Your payslips for the last 3 months.",
        "documentType": "payslip",
        "documentTypeLabel": "Payslip",
        "mandatory": true,
        "allowMultiple": true,
        "fraudDetectionEnabled": true
      }
    ]
  }'

PUT /v1/collections/{collection_id}/definition

Response, 200 OK
{
  "object": "collection_definition",
  "collection_id": "col_5Gk3Tm7",
  "source": "kontiga",
  "imported_at": null,
  "warnings": [],
  "kontiga_only": [
    { "requirement_id": "rqm_8Fh4Ze1", "label": "Purpose of the loan", "kind": "question" }
  ],
  "deleted_at": null,
  "used_by": [{ "workflow_id": "wf_3Kd8Pn2", "workflow_name": "Mortgage review", "node_id": "collect_documents", "label": "Collect the applicant's documents", "timeout": 14, "timeout_unit": "days" }],
  "api": {
    "id": "col_5Gk3Tm7",
    "name": "Mortgage application",
    "description": "Identity, income and address for a mortgage of up to 35 years.",
    "status": "active",
    "documents": [
      {
        "id": "doc_req_Pq7xB3nKs9Wz2LmR5vTc8YdH",
        "name": "Passport",
        "description": "The page with your photo.",
        "documentType": "passport",
        "documentTypeLabel": "Passport",
        "mandatory": true,
        "allowMultiple": false,
        "fileRestrictions": ["camera_only"],
        "requestSides": "front_only",
        "order": 1,
        "fraudDetectionEnabled": true
      },
      {
        "id": "doc_req_Sx9mR4tKw7Nq2VbL5cZh8DyP",
        "name": "Payslips",
        "description": "Your payslips for the last 3 months.",
        "documentType": "payslip",
        "documentTypeLabel": "Payslip",
        "mandatory": true,
        "allowMultiple": true,
        "fileRestrictions": ["pdf_only", "images_allowed"],
        "requestSides": null,
        "order": 2,
        "fraudDetectionEnabled": true,
        "ocrAnalysisEnabled": true,
        "ocrFields": [
          { "name": "employer_name", "overwriteIfExists": true },
          { "name": "net_pay", "overwriteIfExists": true }
        ]
      }
    ],
    "createdAt": "2026-03-02T09:00:00Z",
    "updatedAt": "2026-11-20T15:41:02Z",
    "totalRequired": 2,
    "totalOptional": 0
  }
}

Export a collection

Reads only

GET/v1/collections/{collection_id}/export

A collection in Bynn’s shape, to import into Bynn or keep: the API object (as Bynn’s GET returns it) or the stored rows (with the removed documents and the settings the API does not show).

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections export <collection_id> [--shape <api|rows>] [--output <collection.json>]
MCP tool
export_collection
Returns
The API object, or the document_collection row with its document_requirements.

Parameters

  • collection_idid (col_)Required

    The collection to export. In the path.

  • shapeenumDefault "api"

    api for the object Bynn’s API returns; rows for the stored rows, with removed documents and the settings the API does not show. Either imports back to the same collection.

curl -X GET "https://api.kontiga.com/v1/collections/col_5Gk3Tm7/export?shape=api" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/{collection_id}/export

Response, 200 OK
{
  "id": "col_5Gk3Tm7",
  "name": "Mortgage application",
  "description": "Identity, income and address for a mortgage of up to 35 years.",
  "status": "active",
  "documents": [
    {
      "id": "doc_req_Pq7xB3nKs9Wz2LmR5vTc8YdH",
      "name": "Passport",
      "description": "The page with your photo.",
      "documentType": "passport",
      "documentTypeLabel": "Passport",
      "mandatory": true,
      "allowMultiple": false,
      "fileRestrictions": ["camera_only"],
      "requestSides": "front_only",
      "order": 1,
      "fraudDetectionEnabled": true
    },
    {
      "id": "doc_req_Sx9mR4tKw7Nq2VbL5cZh8DyP",
      "name": "Payslips",
      "description": "Your payslips for the last 3 months.",
      "documentType": "payslip",
      "documentTypeLabel": "Payslip",
      "mandatory": true,
      "allowMultiple": true,
      "fileRestrictions": ["pdf_only", "images_allowed"],
      "requestSides": null,
      "order": 2,
      "fraudDetectionEnabled": true,
      "ocrAnalysisEnabled": true,
      "ocrFields": [
        { "name": "employer_name", "overwriteIfExists": true },
        { "name": "net_pay", "overwriteIfExists": true }
      ]
    }
  ],
  "createdAt": "2026-03-02T09:00:00Z",
  "updatedAt": "2026-11-20T15:41:02Z",
  "totalRequired": 2,
  "totalOptional": 0
}

Import a collection from Bynn

Changes data

POST/v1/collections/imports

Make collections from Bynn definitions: one collection, a list of them, or the stored rows, as JSON. Each keeps every setting; one Bynn would refuse is not imported, with Bynn’s reason.

Who may
Owner, Admin and Analyst
CLI
kontiga collections import --file <collection.json>
MCP tool
import_collection
Returns
One line per collection read: the Kontiga collection made, or why it was refused, and what was noticed.

Parameters

  • definitionstring or record or array of unknownRequired

    One Bynn collection, a list of up to 100, or the stored rows, as JSON. The CLI reads it from the file you give. A collection Bynn would refuse is not imported, and its problems are listed.

curl -X POST https://api.kontiga.com/v1/collections/imports \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "definition": {
      "name": "KYC and income",
      "description": "Identity and proof of income for a personal loan.",
      "status": "draft",
      "documents": [
        {
          "name": "Passport",
          "description": "The page with your photo.",
          "documentType": "passport",
          "documentTypeLabel": "Passport",
          "mandatory": true,
          "fileRestrictions": [
            "camera_only"
          ],
          "requestSides": "front_only",
          "fraudDetectionEnabled": true
        },
        {
          "name": "Payslips",
          "description": "Your payslips for the last 3 months.",
          "documentType": "payslip",
          "documentTypeLabel": "Payslip",
          "mandatory": true,
          "allowMultiple": true,
          "fraudDetectionEnabled": true
        }
      ]
    }
  }'

POST /v1/collections/imports

Response, 200 OK
{
  "object": "collection_import",
  "results": [
    {
      "name": "KYC and income",
      "shape": "api",
      "collection_id": "col_6Vb3Qw9",
      "bynn_id": "col_Tz3kQ8wNr5VmX2bLc7Hy9sDf",
      "problems": [],
      "warnings": ["Driving licence: front and back are asked for; the document type takes both sides."]
    },
    {
      "name": "Company onboarding",
      "shape": "api",
      "collection_id": null,
      "bynn_id": "col_Hn2xW7kQp4RtZ9vLm3Bc8YsD",
      "problems": [{ "path": "documents[2].documentType", "message": "is not a known document type" }],
      "warnings": []
    }
  ]
}

To make a collection from words, the way the console’s Build with AI does: start a session with collections.planner_start and read it with collections.planner_session (pass since, the last event’s seq, to read only what is new) until its status is proposed, answering its questions with collections.planner_answer while it is waiting. Then keep it with collections.planner_accept and save: true: the collection is made as a draft, and the answer names it (collection_id). Check it with collections.validate and make it live with collections.publish. The proposal is in this page’s checklist language: checklist, the collection it would make, and explanations keyed by the entry each explains. collections.plan answers the same proposal in one call, saving nothing. To change a collection in words, collections.improve (or a collection_improve session) proposes changes, each naming the entry it adds, changes, moves or removes by its key, with its reason, and checklist, the collection whole as they leave it: every entry they do not touch keeps its id, key, condition and group. Keep a session with save: true to save them into the collection’s draft; when the collection changed since the session read it, the keep is refused with 409 collection_changed and nothing is saved. The same keep again answers what the first made, and an Idempotency-Key makes a retry safe. Ask a proposing session for changes with collections.planner_revise and request. Stop a session with collections.planner_cancel.

Draft a collection from a description

Changes data

POST/v1/collections/plan

Turns a few words about the case into the checklist to ask for: each requirement with its type, its instructions and its checks, written for the person’s language. Nothing is saved.

Who may
Owner, Admin and Analyst
CLI
kontiga collections plan --description <text> [--language <tag>] [--language-name <name>] [--answers <json>]
MCP tool
plan_collection
Returns
The checklist it would make (a name, a description and the requirements in order, in the checklist’s language), a summary, each explanation keyed by the requirement it explains, notes, what keeps it from being kept, and the questions the words leave open; nothing is saved.

Parameters

  • descriptionstringRequired

    The case, and what the person should send, in your own words. At most 4,000 characters.

  • languagestringDefault "en"

    The person’s language as a tag, such as en, nl or pt-BR. The instructions are written in it.

  • language_namestring

    The language’s name in English, such as Dutch.

  • answersarray of object

    Answers to the questions an earlier call came back with, each {id, choice} or {id, text}. A question left unanswered is drafted with its first option, the recommended one, and comes back in questions: answer it and call again. At most 10 items.

curl -X POST https://api.kontiga.com/v1/collections/plan \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "description": "Car loans for employees: we need their ID and proof of income for the last three months.",
    "language": "en"
  }'

POST /v1/collections/plan

Response, 200 OK
{
  "object": "collection_draft",
  "checklist": {
    "name": "Car loan application",
    "description": "Identity and income for a car loan of up to 5 years.",
    "default_language": "en",
    "checklist": [
      { "key": "passport", "kind": "document", "title": { "en": "Passport" }, "instructions": { "en": "The page with your photo." }, "required": true, "accepts": [{ "type": "passport" }], "files": { "min": 1, "max": 1 }, "file_types": ["image"], "capture": "camera_only", "sides": "front_only", "strictness": "advise", "when_unsure": "accept", "detect": true },
      { "key": "payslips", "kind": "document", "title": { "en": "Payslips" }, "instructions": { "en": "Your payslips for the last 3 months." }, "required": true, "accepts": [{ "type": "payslip" }], "files": { "min": 1, "max": 10 }, "file_types": ["pdf", "image"], "capture": "file_only", "acceptance": { "accept_criteria": "A payslip in the applicant's name from the last 3 months.", "reject_criteria": null, "threshold": 0.5 }, "strictness": "enforce", "when_unsure": "accept", "detect": true }
    ]
  },
  "summary": "Two documents: an ID to check who is applying, and three months of payslips for their income.",
  "explanations": { "passport": "Who is applying.", "payslips": "Their income over the last three months." },
  "notes": [],
  "problems": [],
  "language": "en",
  "language_name": "English",
  "questions": [
    {
      "id": "q1",
      "question": "Do self-employed applicants apply too?",
      "kind": "options",
      "options": [{ "label": "No, employees only" }, { "label": "Yes, ask them for tax returns" }]
    }
  ]
}

Propose changes to a collection

Changes data

POST/v1/collections/improve

Turns a request in words into changes to a collection’s documents (add, change, move, remove, rename), each with its reason. A set holds 1 to 40 changes, each reason is 1 to 400 characters, and every change applies to the open collection before it is shown. Nothing is saved: the member keeps the changes they want.

Who may
Owner, Admin and Analyst
CLI
kontiga collections improve --request <text> [--collection-id <collection_id>] [--collection <json>] [--answers <json>]
MCP tool
improve_collection
Returns
A summary, the proposed changes in order in the checklist’s language (each naming the entry it adds, changes, moves or removes by its key, with its reason), the checklist they leave whole, and the questions the request leaves open; nothing is saved.

Parameters

  • collection_idid (col_)

    A saved collection to change.

  • requeststringRequired

    What should change, in your own words. At most 4,000 characters.

  • collectionobject

    The open form, with unsaved edits: its name, description, status and documents, each with its id. Give this or collection_id.

  • answersarray of object

    Answers to the questions an earlier call came back with; one left unanswered takes its first option and comes back in questions. At most 10 items.

curl -X POST https://api.kontiga.com/v1/collections/improve \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "collection_id": "col_5Gk3Tm7",
    "request": "Read the employer and the net pay from every payslip, and make proof of address required."
  }'

POST /v1/collections/improve

Response, 200 OK
{
  "object": "collection_change_set",
  "summary": "Read the employer and the net pay from every payslip, and make proof of address required.",
  "changes": [
    {
      "op": "update",
      "key": "payslips",
      "entry": { "id": "rqm_4Yc2Hn8", "key": "payslips", "kind": "document", "title": { "en": "Payslips" }, "required": true, "accepts": [{ "type": "payslip" }], "extract": [{ "name": "employer_name", "overwrite_if_exists": true }, { "name": "net_pay", "overwrite_if_exists": true }], "detect": true },
      "reason": "You asked for the employer and the net pay to be read."
    },
    {
      "op": "update",
      "key": "proof_of_address",
      "entry": { "id": "rqm_2Bv5Kt6", "key": "proof_of_address", "kind": "document", "title": { "en": "Proof of address" }, "required": true, "accepts": [{ "type": "lease_agreement" }], "detect": true },
      "reason": "Proof of address becomes required, as you asked."
    }
  ],
  "checklist": {
    "name": "Mortgage application",
    "description": "Identity, income and address for a mortgage of up to 35 years.",
    "default_language": "en",
    "checklist": [
      { "id": "rqm_8Fh4Ze1", "key": "loan_purpose", "kind": "question", "title": { "en": "Purpose of the loan" }, "required": true, "question": { "type": "text" } },
      { "id": "rqm_4Yc2Hn8", "key": "payslips", "kind": "document", "title": { "en": "Payslips" }, "required": true, "accepts": [{ "type": "payslip" }], "extract": [{ "name": "employer_name", "overwrite_if_exists": true }, { "name": "net_pay", "overwrite_if_exists": true }], "detect": true },
      { "id": "rqm_2Bv5Kt6", "key": "proof_of_address", "kind": "document", "title": { "en": "Proof of address" }, "required": true, "accepts": [{ "type": "lease_agreement" }], "detect": true, "when": { "field": "answer.loan_purpose", "op": "not_empty" } }
    ]
  },
  "notes": [],
  "questions": []
}

Start the collection planner

Changes data

POST/v1/collections/planner/sessions

Starts Build with AI (collection_plan) or Improve with AI (collection_improve) as a session: it works in steps, may stop to ask one to four questions, and proposes a draft or a change set to keep, revise or leave. Nothing is saved.

Who may
Owner, Admin and Analyst
CLI
kontiga collections planner start --mode <collection_plan|collection_improve> --request <text> [--language <tag>] [--language-name <name>] [--collection-id <collection_id>] [--collection <json>]
MCP tool
start_collection_planner
Returns
The session, working: its id, its first events and its usage. Read it with collections.planner_session until it waits, proposes or ends.

Parameters

  • modeenumRequired

    collection_plan drafts a new collection; collection_improve proposes changes to one.

  • requeststringRequired

    What to draft or change, in your own words. At most 4,000 characters.

  • languagestring

    The person’s language as a tag.

  • language_namestring

    The language’s name in English.

  • collection_idid (col_)

    For collection_improve: the saved collection.

  • collectionobject

    For collection_improve: the open form, with unsaved edits.

curl -X POST https://api.kontiga.com/v1/collections/planner/sessions \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "collection_plan",
    "request": "Car loans for employees: we need their ID and proof of income for the last three months.",
    "language": "en"
  }'

POST /v1/collections/planner/sessions

Response, 201 Created
{
  "id": "wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40",
  "object": "collection_planner_session",
  "mode": "collection_plan",
  "status": "working",
  "revision": 0,
  "events": [
    { "seq": 1, "at": "2026-11-27T10:20:01Z", "kind": "start", "text": "Planning started" },
    { "seq": 2, "at": "2026-11-27T10:20:01Z", "kind": "step", "text": "Thinking (step 1)" }
  ],
  "questions": null,
  "proposal": null,
  "usage": { "steps": 0, "max_steps": 30 },
  "error": null,
  "created_at": "2026-11-27T10:20:01Z",
  "updated_at": "2026-11-27T10:20:01Z"
}

Read a collection planner session

Reads only

GET/v1/collections/planner/sessions/{session_id}

Where a planner session stands: working with its progress and usage, waiting on questions, a proposal to review, or ended, with its error when it failed.

Who may
Owner, Admin and Analyst
CLI
kontiga collections planner get <session_id> [--since <seq>]
MCP tool
get_collection_planner_session
Returns
Its status, the events after since, the questions while it waits, the proposal, the usage (steps of at most 30) and the error.

Parameters

  • session_idid (wfa_)Required

    The session to read. In the path.

  • sinceintegerDefault 0

    Answer only the events after this one.

curl -X GET "https://api.kontiga.com/v1/collections/planner/sessions/wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40?since=1" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/planner/sessions/{session_id}

Response, 200 OK
{
  "id": "wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40",
  "object": "collection_planner_session",
  "mode": "collection_plan",
  "status": "waiting",
  "revision": 2,
  "events": [
    { "seq": 3, "at": "2026-11-27T10:20:04Z", "kind": "tool", "text": "Read the document types" },
    { "seq": 4, "at": "2026-11-27T10:20:04Z", "kind": "tool", "text": "Listed the workspace's collections" },
    { "seq": 5, "at": "2026-11-27T10:20:04Z", "kind": "step", "text": "Thinking (step 2)" },
    { "seq": 6, "at": "2026-11-27T10:20:09Z", "kind": "question", "text": "Asking you 1 question" }
  ],
  "questions": [
    {
      "id": "q1",
      "question": "Do self-employed applicants apply too?",
      "kind": "options",
      "options": [{ "label": "No, employees only" }, { "label": "Yes, ask them for tax returns" }]
    }
  ],
  "proposal": null,
  "usage": { "steps": 2, "max_steps": 30 },
  "error": null,
  "created_at": "2026-11-27T10:20:01Z",
  "updated_at": "2026-11-27T10:20:09Z"
}

Answer the collection planner

Changes data

POST/v1/collections/planner/sessions/{session_id}/answer

Answers the questions a waiting session asked, each with a listed choice or in your own words; the session works on with them.

Who may
Owner, Admin and Analyst
CLI
kontiga collections planner answer <session_id> --answers <json>
MCP tool
answer_collection_planner
Returns
The session, working again with the answers.

Parameters

  • session_idid (wfa_)Required

    A session that is waiting. In the path.

  • answersarray of objectRequired

    One answer per question: {id, choice} with one of its options, or {id, text} in your own words. At most 10 items.

curl -X POST https://api.kontiga.com/v1/collections/planner/sessions/wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40/answer \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "answers": [
      {
        "id": "q1",
        "choice": "No, employees only"
      }
    ]
  }'

POST /v1/collections/planner/sessions/{session_id}/answer

Response, 200 OK
{
  "id": "wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40",
  "object": "collection_planner_session",
  "mode": "collection_plan",
  "status": "working",
  "revision": 0,
  "events": [
    { "seq": 1, "at": "2026-11-27T10:20:01Z", "kind": "start", "text": "Planning started" },
    { "seq": 2, "at": "2026-11-27T10:20:01Z", "kind": "step", "text": "Thinking (step 1)" }
  ],
  "questions": null,
  "proposal": null,
  "usage": { "steps": 0, "max_steps": 30 },
  "error": null,
  "created_at": "2026-11-27T10:20:01Z",
  "updated_at": "2026-11-27T10:20:01Z"
}

Ask the collection planner for changes

Changes data

POST/v1/collections/planner/sessions/{session_id}/revise

Sends a proposal back with what should change; the session works on it and proposes again.

Who may
Owner, Admin and Analyst
CLI
kontiga collections planner revise <session_id> --request <text>
MCP tool
revise_collection_planner
Returns
The session, working again on the revision.

Parameters

  • session_idid (wfa_)Required

    A session that has proposed. In the path.

  • requeststringRequired

    What should change in the proposal, in words, as a start names them (message is read as it too). At most 2,000 characters.

curl -X POST https://api.kontiga.com/v1/collections/planner/sessions/wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40/revise \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request": "Make the bank statement optional."
  }'

POST /v1/collections/planner/sessions/{session_id}/revise

Response, 200 OK
{
  "id": "wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40",
  "object": "collection_planner_session",
  "mode": "collection_plan",
  "status": "working",
  "revision": 0,
  "events": [
    { "seq": 1, "at": "2026-11-27T10:20:01Z", "kind": "start", "text": "Planning started" },
    { "seq": 2, "at": "2026-11-27T10:20:01Z", "kind": "step", "text": "Thinking (step 1)" }
  ],
  "questions": null,
  "proposal": null,
  "usage": { "steps": 0, "max_steps": 30 },
  "error": null,
  "created_at": "2026-11-27T10:20:01Z",
  "updated_at": "2026-11-27T10:20:01Z"
}

Keep the collection planner's proposal

Changes data

POST/v1/collections/planner/sessions/{session_id}/accept

Marks the proposal kept and ends the session. With save, the proposal’s collection is saved too: a new one, as a draft to publish, or the improved one’s draft.

Who may
Owner, Admin and Analyst
CLI
kontiga collections planner accept <session_id> [--save]
MCP tool
accept_collection_planner
Returns
The session, finished; with save, collection_id names the collection saved.

Parameters

  • session_idid (wfa_)Required

    A session that has proposed. In the path.

  • saveboolean

    true saves the proposal’s collection as it keeps it: a plan’s is made as a new collection, a draft, named in collection_id; an improve’s changes go into the collection’s draft. Without it, nothing is saved.

curl -X POST https://api.kontiga.com/v1/collections/planner/sessions/wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40/accept \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "save": true
  }'

POST /v1/collections/planner/sessions/{session_id}/accept

Response, 200 OK
{
  "id": "wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40",
  "object": "collection_planner_session",
  "mode": "collection_plan",
  "status": "finished",
  "revision": 6,
  "events": [
    { "seq": 12, "at": "2026-11-27T10:23:40Z", "kind": "accepted", "text": "Accepted; created 1 collection" }
  ],
  "questions": null,
  "proposal": {
    "kind": "collection",
    "checklist": { "name": "Car loan application", "description": "Identity and income for a car loan of up to 5 years.", "default_language": "en", "checklist": [] },
    "summary": "Two documents: an ID and three months of payslips.",
    "explanations": {},
    "notes": [],
    "problems": [],
    "language": "en",
    "language_name": "English",
    "questions": []
  },
  "usage": { "steps": 4, "max_steps": 30 },
  "error": null,
  "created_at": "2026-11-27T10:20:01Z",
  "updated_at": "2026-11-27T10:23:40Z",
  "collection_id": "col_6Tb2Vn9"
}

Stop the collection planner

Changes data

POST/v1/collections/planner/sessions/{session_id}/cancel

Stops a session that is working, waiting or proposing; a session that has ended stays as it is.

Who may
Owner, Admin and Analyst
CLI
kontiga collections planner cancel <session_id>
MCP tool
cancel_collection_planner
Returns
The session, cancelled (or as it ended).

Parameters

  • session_idid (wfa_)Required

    The session to stop. A session that has ended is answered as it is. In the path.

curl -X POST https://api.kontiga.com/v1/collections/planner/sessions/wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40/cancel \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/collections/planner/sessions/{session_id}/cancel

Response, 200 OK
{
  "id": "wfa_0193c6a2f1b47c0d9e3a5b7c1d2e3f40",
  "object": "collection_planner_session",
  "mode": "collection_plan",
  "status": "cancelled",
  "revision": 3,
  "events": [
    { "seq": 7, "at": "2026-11-27T10:21:12Z", "kind": "cancelled", "text": "Stopped" }
  ],
  "questions": null,
  "proposal": null,
  "usage": { "steps": 2, "max_steps": 30 },
  "error": null,
  "created_at": "2026-11-27T10:20:01Z",
  "updated_at": "2026-11-27T10:21:12Z"
}

Drafts, versions and archiving

A collection is a draft until it is published, then active, or archived. Publishing makes the draft the next version; a version never changes once published, and every request keeps the version it was sent with, so changing a collection never changes what an open request asks. Adding a requirement, a save in Bynn’s shape and a requirement’s strictness change the draft, and requests ask for the change once you publish it; the request settings (channel, reminders, expiry, access, language, purpose, brand kit) apply to the next request at once. Publishing validates the checklist first and lists every problem at once, each with its path, its code and what to change. A draft that was never published is published as version 1 when its first request is sent, once it passes the same checks a publish makes; a draft that does not is refused with the publish’s problems, and nothing is sent. Publishing, archiving and restoring answer the collection itself. An archived collection leaves the team’s list and can still be sent; a deleted one starts no request.

Validate a collection

Reads only

POST/v1/collections/{collection_id}/validate

Check a collection’s draft as publishing would, without publishing it: every problem at once, each with where it is, its code and what to change.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections validate <collection_id>
MCP tool
validate_collection
Returns
Whether the draft would publish, and every problem with its path, code and message.

Parameters

  • collection_idid (col_)Required

    The collection whose draft to check. Nothing changes. In the path.

curl -X POST https://api.kontiga.com/v1/collections/col_5Gk3Tm7/validate \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/collections/{collection_id}/validate

Response, 200 OK
{
  "object": "collection_validation",
  "collection_id": "col_5Gk3Tm7",
  "valid": false,
  "problems": [
    { "path": "checklist[2].accepts", "code": "accepts_empty", "message": "Proof of address: name the document types that satisfy it." },
    { "path": "checklist[4].accepts[0].type", "code": "type_unknown", "message": "Rental agreement: \"rental_agreement\" is not one of the 84 document types. Choose one, or ask for it as a custom type." }
  ]
}

Publish a collection

Changes data

POST/v1/collections/{collection_id}/publish

Make the draft the collection’s next version: requests sent from now on ask what it asks, and requests already open keep the version they were sent with. Refused, with every problem listed at once, while the checklist does not pass its checks.

Who may
Owner, Admin and Analyst
CLI
kontiga collections publish <collection_id>
MCP tool
publish_collection
Returns
The collection, active, with its new version number. Its state, version, published_at and archived_at among its fields.

Parameters

  • collection_idid (col_)Required

    The collection to publish. A draft becomes version 1; an active collection goes up by one. A collection is published at most 100 times a day (UTC): one more answers 429 rate_limited with details.reason collection_daily_publishes and Retry-After until 00:00 UTC, and its draft is kept. In the path.

curl -X POST https://api.kontiga.com/v1/collections/col_5Gk3Tm7/publish \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/collections/{collection_id}/publish

Response, 200 OK
{
  "id": "col_5Gk3Tm7",
  "object": "collection",
  "name": "Mortgage application",
  "description": "Identity, income and address for a mortgage of up to 35 years.",
  "requirements": [
    {
      "id": "rqm_1Pa6Ws3",
      "key": "passport_or_national_id_card",
      "kind": "identity",
      "title": "Passport or national ID card",
      "instructions": "Valid for at least 30 more days",
      "accepts": [
        {
          "type": "passport"
        },
        {
          "type": "id_card"
        }
      ],
      "required": true,
      "group": null,
      "asked_when": null
    },
    {
      "id": "rqm_4Yc2Hn8",
      "key": "payslips",
      "kind": "document",
      "title": "Payslips",
      "instructions": "The last 3 months, one each",
      "accepts": [
        {
          "type": "payslip"
        }
      ],
      "required": true
    },
    {
      "id": "rqm_7Lq9Dz1",
      "key": "bank_statements",
      "kind": "document",
      "title": "Bank statements",
      "instructions": "The last 3 months, the account the salary is paid into",
      "accepts": [
        {
          "type": "bank_statements"
        }
      ],
      "required": true
    },
    {
      "id": "rqm_2Bv5Kt6",
      "key": "proof_of_address",
      "kind": "document",
      "title": "Proof of address",
      "instructions": "A statement or a bill, dated in the last 3 months",
      "accepts": [
        {
          "type": "bank_statements"
        },
        {
          "type": "invoice"
        }
      ],
      "required": false
    }
  ],
  "channel": "email_and_sms",
  "reminders": {
    "first_after_days": 2,
    "then_every_days": 3,
    "before_expiry": true,
    "max": 4
  },
  "reminders_in_words": "After 2 days, then every 3 days, and the day before the link expires. At most 4.",
  "expiry_days": 14,
  "cases_using": 38,
  "policy_ids": [
    "pol_8Hm3Qr5"
  ],
  "requirement_policy_ids": {
    "rqm_4Yc2Hn8": [
      "pol_8Hm3Qr5"
    ]
  },
  "created_at": "2026-09-02T08:15:40Z",
  "updated_at": "2026-11-27T09:12:00Z",
  "state": "active",
  "version": 5,
  "published_at": "2026-11-27T09:12:00Z",
  "archived_at": null
}

List a collection's versions

Reads only

GET/v1/collections/{collection_id}/versions

Every published version of a collection, newest first: when it was published and by whom, how many requirements it asks, and how many open requests still run on it.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections versions <collection_id> [--limit <n>] [--cursor <next_cursor>]
MCP tool
list_collection_versions
Returns
The versions, newest first, the active one marked, 50 a page.

Parameters

  • collection_idid (col_)Required

    The collection whose versions to list. In the path.

  • limitinteger

    How many versions a page holds, 1 to 200; 50 when left out. A page also stops at about 2 MB of versions, so a page of large ones may hold fewer than limit while next_cursor goes on. A workspace reads at most 4 such pages at once (the list, Bynn’s definitions, the versions); one more answers 429 rate_limited with details.reason collection_reads_in_flight and a wait of under a second.

  • cursorstring

    The next_cursor of the page before: the versions older than it.

curl -X GET https://api.kontiga.com/v1/collections/col_5Gk3Tm7/versions \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/{collection_id}/versions

Response, 200 OK
{
  "items": [
    { "object": "collection_version", "collection_id": "col_5Gk3Tm7", "version": 5, "active": true, "published_at": "2026-11-27T09:12:00Z", "published_by": "usr_4Hk8Tq2Wn6", "requirement_count": 6, "open_requests": 14 },
    { "object": "collection_version", "collection_id": "col_5Gk3Tm7", "version": 4, "active": false, "published_at": "2026-11-13T15:40:00Z", "published_by": "usr_4Hk8Tq2Wn6", "requirement_count": 5, "open_requests": 3 }
  ],
  "next_cursor": null
}

Archive a collection

Changes data

POST/v1/collections/{collection_id}/archive

Put an active collection away for the team. As in Bynn, an archived collection can still be sent and a workflow can still run it; requests already open continue.

Who may
Owner, Admin and Analyst
CLI
kontiga collections archive <collection_id>
MCP tool
archive_collection
Returns
The collection, archived. Its state, version, published_at and archived_at among its fields.

Parameters

  • collection_idid (col_)Required

    An active collection. In the path.

curl -X POST https://api.kontiga.com/v1/collections/col_5Gk3Tm7/archive \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/collections/{collection_id}/archive

Response, 200 OK
{
  "id": "col_5Gk3Tm7",
  "object": "collection",
  "name": "Mortgage application",
  "description": "Identity, income and address for a mortgage of up to 35 years.",
  "requirements": [
    {
      "id": "rqm_1Pa6Ws3",
      "key": "passport_or_national_id_card",
      "kind": "identity",
      "title": "Passport or national ID card",
      "instructions": "Valid for at least 30 more days",
      "accepts": [
        {
          "type": "passport"
        },
        {
          "type": "id_card"
        }
      ],
      "required": true,
      "group": null,
      "asked_when": null
    },
    {
      "id": "rqm_4Yc2Hn8",
      "key": "payslips",
      "kind": "document",
      "title": "Payslips",
      "instructions": "The last 3 months, one each",
      "accepts": [
        {
          "type": "payslip"
        }
      ],
      "required": true
    },
    {
      "id": "rqm_7Lq9Dz1",
      "key": "bank_statements",
      "kind": "document",
      "title": "Bank statements",
      "instructions": "The last 3 months, the account the salary is paid into",
      "accepts": [
        {
          "type": "bank_statements"
        }
      ],
      "required": true
    },
    {
      "id": "rqm_2Bv5Kt6",
      "key": "proof_of_address",
      "kind": "document",
      "title": "Proof of address",
      "instructions": "A statement or a bill, dated in the last 3 months",
      "accepts": [
        {
          "type": "bank_statements"
        },
        {
          "type": "invoice"
        }
      ],
      "required": false
    }
  ],
  "channel": "email_and_sms",
  "reminders": {
    "first_after_days": 2,
    "then_every_days": 3,
    "before_expiry": true,
    "max": 4
  },
  "reminders_in_words": "After 2 days, then every 3 days, and the day before the link expires. At most 4.",
  "expiry_days": 14,
  "cases_using": 38,
  "policy_ids": [
    "pol_8Hm3Qr5"
  ],
  "requirement_policy_ids": {
    "rqm_4Yc2Hn8": [
      "pol_8Hm3Qr5"
    ]
  },
  "created_at": "2026-09-02T08:15:40Z",
  "updated_at": "2026-11-28T08:00:00Z",
  "state": "archived",
  "version": 5,
  "published_at": "2026-11-27T09:12:00Z",
  "archived_at": "2026-11-28T08:00:00Z"
}

Restore a collection

Changes data

POST/v1/collections/{collection_id}/restore

Bring an archived collection back to active, at the version it had.

Who may
Owner, Admin and Analyst
CLI
kontiga collections restore <collection_id>
MCP tool
restore_collection
Returns
The collection, active again. Its state, version, published_at and archived_at among its fields.

Parameters

  • collection_idid (col_)Required

    An archived collection. In the path.

curl -X POST https://api.kontiga.com/v1/collections/col_5Gk3Tm7/restore \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/collections/{collection_id}/restore

Response, 200 OK
{
  "id": "col_5Gk3Tm7",
  "object": "collection",
  "name": "Mortgage application",
  "description": "Identity, income and address for a mortgage of up to 35 years.",
  "requirements": [
    {
      "id": "rqm_1Pa6Ws3",
      "key": "passport_or_national_id_card",
      "kind": "identity",
      "title": "Passport or national ID card",
      "instructions": "Valid for at least 30 more days",
      "accepts": [
        {
          "type": "passport"
        },
        {
          "type": "id_card"
        }
      ],
      "required": true,
      "group": null,
      "asked_when": null
    },
    {
      "id": "rqm_4Yc2Hn8",
      "key": "payslips",
      "kind": "document",
      "title": "Payslips",
      "instructions": "The last 3 months, one each",
      "accepts": [
        {
          "type": "payslip"
        }
      ],
      "required": true
    },
    {
      "id": "rqm_7Lq9Dz1",
      "key": "bank_statements",
      "kind": "document",
      "title": "Bank statements",
      "instructions": "The last 3 months, the account the salary is paid into",
      "accepts": [
        {
          "type": "bank_statements"
        }
      ],
      "required": true
    },
    {
      "id": "rqm_2Bv5Kt6",
      "key": "proof_of_address",
      "kind": "document",
      "title": "Proof of address",
      "instructions": "A statement or a bill, dated in the last 3 months",
      "accepts": [
        {
          "type": "bank_statements"
        },
        {
          "type": "invoice"
        }
      ],
      "required": false
    }
  ],
  "channel": "email_and_sms",
  "reminders": {
    "first_after_days": 2,
    "then_every_days": 3,
    "before_expiry": true,
    "max": 4
  },
  "reminders_in_words": "After 2 days, then every 3 days, and the day before the link expires. At most 4.",
  "expiry_days": 14,
  "cases_using": 38,
  "policy_ids": [
    "pol_8Hm3Qr5"
  ],
  "requirement_policy_ids": {
    "rqm_4Yc2Hn8": [
      "pol_8Hm3Qr5"
    ]
  },
  "created_at": "2026-09-02T08:15:40Z",
  "updated_at": "2026-11-28T08:30:00Z",
  "state": "active",
  "version": 5,
  "published_at": "2026-11-27T09:12:00Z",
  "archived_at": null
}

The checklist, groups and conditions

A collection’s checklist is an ordered list of entries. Each entry is a requirement (a document, a question or an identity step) or a group of alternatives, satisfied when choose of its members are. Any entry may carry when, the condition it is asked under: {field, op, value}, or all, any or not of conditions. The field is answer.<question key> (a question asked earlier in the checklist), party.role, context.<key> (a value the request was sent with) or person.country. The operators are equals, not_equals, in, not_in, contains, gt, gte, lt, lte, is_empty and not_empty. A title or an instruction is written per language, {"en": "Payslip", "sv": "Lönespecifikation"}; the person reads it in their language, or in the collection’s default language when it is not written in theirs.

Read the checklist whole, change it, and save it back whole: a requirement sent without an id is given one (or keeps the id of the requirement with the same key), the ones that stay keep theirs, so requests and reuse keep recognising them, and an id the collection never held is replaced. Leave checklist out to change only the name or the description. A text past its length (a name 120 characters, a description 500, a title, an option or a placeholder 200, instructions 2,000) is refused with 400 at its path and code too_long, and nothing is saved; so is a collection that would take more than 128 KB, and a workspace holds at most 1,000 collections. A workspace’s collections store at most 256 MB, drafts and published versions together: past it, a save, a publish or a new collection is refused with 400 code storage_full, and deleting collections no request used makes room. A save changes the draft only. unpublished says the draft differs from the published version, and problems lists what publishing would refuse for, each with its path (checklist[1].group.choose), so you can fix them before you publish. Send the revision you read back with the save (in the body, or as the If-Match header): when someone changed the checklist since, the save is refused with 409 collection_changed, nothing is written, and error.details.current holds the checklist as it now stands. A field an entry does not take is refused at its path.

Read a collection's checklist

Reads only

GET/v1/collections/{collection_id}/checklist

A collection’s checklist as its draft stands, in Kontiga’s own language: every requirement with its kind, title, instructions, rules and strictness, the groups of alternatives with how many to choose, and the condition each entry is asked under. Says whether the draft differs from the published version, and the problems publishing it would refuse for.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga collections checklist <collection_id>
MCP tool
get_collection_checklist
Returns
The draft’s checklist, its revision, its name and default language, whether it is unpublished, and every problem with its path, code and message.

Parameters

  • collection_idid (col_)Required

    The collection whose checklist to read. Nothing changes. In the path.

curl -X GET https://api.kontiga.com/v1/collections/col_5Gk3Tm7/checklist \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/collections/{collection_id}/checklist

Response, 200 OK
{
  "object": "collection_checklist",
  "collection_id": "col_5Gk3Tm7",
  "revision": "1795691520318402",
  "state": "active",
  "version": 5,
  "unpublished": true,
  "name": "Motor claim",
  "description": "What we ask a policyholder for after an accident",
  "default_language": "en",
  "checklist": [
    { "id": "rqm_2Pd7Xc4Lb9", "key": "police_attended", "kind": "question", "title": { "en": "Did the police attend?", "sv": "Var polisen på plats?" }, "required": true, "question": { "type": "yes_no" } },
    { "id": "rqm_8Kt3Wm6Hq1", "key": "police_report", "kind": "document", "title": { "en": "Police report" }, "required": true, "when": { "field": "answer.police_attended", "op": "equals", "value": true }, "accepts": [{ "type": "letter" }] },
    { "group": {
        "key": "repair_cost",
        "title": { "en": "What the repair costs" },
        "choose": 1,
        "members": [
          { "id": "rqm_5Fb2Nv8Ry4", "key": "repair_estimate", "kind": "document", "title": { "en": "Repair estimate" }, "accepts": [{ "type": "invoice" }] },
          { "id": "rqm_9Gc4Pz1Ts7", "key": "garage_invoice", "kind": "document", "title": { "en": "Garage invoice" }, "accepts": [{ "type": "invoice" }] }
        ]
    } }
  ],
  "problems": [],
  "updated_at": "2026-11-30T10:04:00Z"
}

Save a collection's checklist

Changes data

PUT/v1/collections/{collection_id}/checklist

Replace a collection’s checklist whole, in its draft: add, remove and order requirements, group alternatives, and set when each entry is asked. A requirement sent without an id is given one; one sent with its id keeps it. Published versions never change, so requests sent and open keep theirs; publish the draft to send it. Answers the checklist with the problems publishing would refuse for.

Who may
Owner, Admin and Analyst
CLI
kontiga collections save-checklist <collection_id> --checklist <json> [--name <name>] [--description <text>] [--default-language <locale>] [--revision <revision>]
MCP tool
save_collection_checklist
Returns
The draft’s checklist as saved, with the ids given to what was added, its new revision and every problem publishing would refuse for.

Parameters

  • collection_idid (col_)Required

    The collection to change. In the path.

  • checklistarray of record

    Every entry, in order: requirements and {group: {...}} entries. Leave out id for a requirement you add. Leave checklist out to change only the name or the description. At most 50 items.

  • namestring

    Optional: the collection’s new name. At most 120 characters.

  • descriptionstring

    Optional: its new description. At most 500 characters.

  • default_languageenum

    Optional: the language a text falls back to, one of the 12. One of en, pt, es, ar, zht, zhs, fr, de, ja, hi, ru, sv.

  • revisionstring

    Optional: the revision you read. A save over a checklist changed since is refused with collection_changed.

curl -X PUT https://api.kontiga.com/v1/collections/col_5Gk3Tm7/checklist \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "checklist": [
      {
        "id": "rqm_2Pd7Xc4Lb9",
        "key": "police_attended",
        "kind": "question",
        "title": {
          "en": "Did the police attend?"
        },
        "question": {
          "type": "yes_no"
        }
      },
      {
        "key": "police_report",
        "kind": "document",
        "title": {
          "en": "Police report"
        },
        "when": {
          "field": "answer.police_attended",
          "op": "equals",
          "value": true
        },
        "accepts": [
          {
            "type": "letter"
          }
        ]
      },
      {
        "group": {
          "key": "repair_cost",
          "title": {
            "en": "What the repair costs"
          },
          "choose": 1,
          "members": [
            {
              "id": "rqm_5Fb2Nv8Ry4",
              "key": "repair_estimate",
              "kind": "document",
              "title": {
                "en": "Repair estimate"
              },
              "accepts": [
                {
                  "type": "invoice"
                }
              ]
            },
            {
              "id": "rqm_9Gc4Pz1Ts7",
              "key": "garage_invoice",
              "kind": "document",
              "title": {
                "en": "Garage invoice"
              },
              "accepts": [
                {
                  "type": "invoice"
                }
              ]
            }
          ]
        }
      }
    ]
  }'

PUT /v1/collections/{collection_id}/checklist

Response, 200 OK
{
  "object": "collection_checklist",
  "collection_id": "col_5Gk3Tm7",
  "revision": "1795691520318402",
  "state": "active",
  "version": 5,
  "unpublished": true,
  "name": "Motor claim",
  "description": "What we ask a policyholder for after an accident",
  "default_language": "en",
  "checklist": [
    { "id": "rqm_2Pd7Xc4Lb9", "key": "police_attended", "kind": "question", "title": { "en": "Did the police attend?", "sv": "Var polisen på plats?" }, "required": true, "question": { "type": "yes_no" } },
    { "id": "rqm_8Kt3Wm6Hq1", "key": "police_report", "kind": "document", "title": { "en": "Police report" }, "required": true, "when": { "field": "answer.police_attended", "op": "equals", "value": true }, "accepts": [{ "type": "letter" }] },
    { "group": {
        "key": "repair_cost",
        "title": { "en": "What the repair costs" },
        "choose": 1,
        "members": [
          { "id": "rqm_5Fb2Nv8Ry4", "key": "repair_estimate", "kind": "document", "title": { "en": "Repair estimate" }, "accepts": [{ "type": "invoice" }] },
          { "id": "rqm_9Gc4Pz1Ts7", "key": "garage_invoice", "kind": "document", "title": { "en": "Garage invoice" }, "accepts": [{ "type": "invoice" }] }
        ]
    } }
  ],
  "problems": [],
  "updated_at": "2026-11-30T10:04:00Z"
}