Skip to content

ReferenceProduct settings

Collect settings

What end customers see and receive, and how often: the brand kits their pages and messages wear, the defaults every collection and request starts from (languages, channels, how long a link stays open, reminders and quiet hours), and which earlier documents and checks a new case may reuse, so a person is asked only for what is missing. A collection that sets its own value keeps it.

Updated

Ask about this pageRead this page as Markdown

Brand kits

A brand kit is a customer’s logo, colours, sender and texts for everything an end customer sees: the portal, the widget and every message. A collection or a request names its kit; the rest use the default. A workspace may hold several, as many as its plan allows.

  • idstring

    The kit’s id, starting with bk_.

  • brand_colorstring

    The colour of the kit’s highlights: the portal’s header and links, as # and six hex digits.

  • accent_colorstring

    The colour of the main button on every page the end customer sees.

  • sender_namestring

    The From name of every message.

  • reply_tostring

    Where an end customer’s reply goes.

  • support_emailstring

    How an end customer reaches you with a question, in the portal’s footer and at the foot of every message. With none, the reply-to address is shown.

  • textsobject

    The end customer’s texts per language. A text left out uses Kontiga’s standard one.

  • is_defaultboolean

    Used unless a collection or a request names another kit.

  • The logo is a JPEG or PNG of at most 512 KB and the icon a square PNG of at most 128 KB, each sent as a data URL. Their type is read from the file itself: a file whose content is not the image it is named as is refused.
  • The default kit is the one Collect’s settings name (default_brand_kit), else the workspace’s first. It cannot be deleted while it is the default. Deleting another kit moves the collections and requests that used it to the default.
  • Each kit has its own name in the workspace. A custom portal domain belongs to one kit. A workspace holds up to 50 kits.
  • The sender name is the From name of every message: a name, never an address, so it holds no @, <, >, " or \. The reply-to and support addresses are your own, never a Kontiga address. Links start with https://.
  • A custom portal domain and hiding "via Kontiga" are on the Growth plan and above.
What a brand kit call refuses
StatusCodeWhen
400invalid_inputA field is not valid. issues[0].path names it, such as sender_name, reply_to or texts.en.portal_welcome.
403plan_requiredA custom portal domain or hiding "via Kontiga" on a plan without them. details.plan names the lowest plan with them.
404not_foundNo such kit in this workspace.
409name_takenAnother kit has the name.
409domain_takenAnother kit uses the portal domain.
409brand_kit_is_defaultThe kit is the default. Make another kit the default first.
409too_many_brand_kitsThe workspace holds 50 kits already.
A brand kit
{
  "id": "bk_4Hm7Rw2",
  "object": "brand_kit",
  "name": "Brightwater Lending",
  "logo": null,
  "icon": null,
  "brand_color": "#14374F",
  "accent_color": "#1E4D6B",
  "sender_name": "Brightwater Lending",
  "reply_to": "applications@brightwater.example",
  "support_email": "help@brightwater.example",
  "support_phone": "+31 20 794 1180",
  "support_url": null,
  "support_address": "Keizersgracht 214, 1016 DZ Amsterdam",
  "privacy_url": "https://brightwater.example/privacy",
  "terms_url": null,
  "portal_domain": null,
  "show_via_kontiga": true,
  "texts": {
    "en": { "portal_welcome": "Upload what Brightwater Lending asked for. It takes a few minutes, and you can stop and come back." }
  },
  "is_default": true,
  "collections_using": 3,
  "created_at": "2026-09-14T08:12:00Z",
  "updated_at": "2026-11-12T10:05:00Z"
}

List brand kits

Reads only

GET/v1/brand_kits

Every brand kit of the workspace: logo, icon, colours, sender, the support contact end customers see, links, the end customer’s texts per language, and which kit is the default.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga brand-kits list
MCP tool
list_brand_kits
Returns
The workspace’s brand kits, the default first.

No parameters.

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

GET /v1/brand_kits

Response, 200 OK
{
  "items": [
    { "id": "bk_4Hm7Rw2", "object": "brand_kit", "name": "Brightwater Lending", "brand_color": "#14374F", "accent_color": "#1E4D6B", "sender_name": "Brightwater Lending", "is_default": true, "collections_using": 3 },
    { "id": "bk_9Tc2Ls6", "object": "brand_kit", "name": "Brightwater Home Loans", "brand_color": "#1D4A3F", "accent_color": "#24584A", "sender_name": "Brightwater Home Loans", "is_default": false, "collections_using": 1 }
  ],
  "next_cursor": null
}

Create a brand kit

Changes data

POST/v1/brand_kits

Adds a brand kit with a name, colours and a sender; everything else can be filled in after. A workspace may hold several.

Who may
Owner and Admin
CLI
kontiga brand-kits create --name <text> --brand-color <#rrggbb> --accent-color <#rrggbb> --sender-name <text> --reply-to <email> [--logo <file.png>]
MCP tool
create_brand_kit
Returns
The new brand kit.

Parameters

  • namestringRequired

    The kit’s name, as members see it. At most 60 characters.

  • brand_colorstringRequired

    The highlights' colour, as # and six hex digits.

  • accent_colorstringRequired

    The main button’s colour, as # and six hex digits.

  • sender_namestringRequired

    The From name of every message. At most 60 characters.

  • reply_toemailRequired

    Where an end customer’s reply goes.

  • logostring

    The logo as a data URL, a JPEG or PNG of at most 512 KB. Its type is read from the file itself. null clears it.

curl -X POST https://api.kontiga.com/v1/brand_kits \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Brightwater Home Loans",
    "brand_color": "#1D4A3F",
    "accent_color": "#24584A",
    "sender_name": "Brightwater Home Loans",
    "reply_to": "homeloans@brightwater.example"
  }'

POST /v1/brand_kits

Response, 201 Created
{
  "id": "bk_9Tc2Ls6",
  "object": "brand_kit",
  "name": "Brightwater Home Loans",
  "logo": null,
  "icon": null,
  "brand_color": "#1D4A3F",
  "accent_color": "#24584A",
  "sender_name": "Brightwater Home Loans",
  "reply_to": "homeloans@brightwater.example",
  "support_email": null,
  "support_phone": null,
  "support_url": null,
  "support_address": null,
  "privacy_url": null,
  "terms_url": null,
  "portal_domain": null,
  "show_via_kontiga": true,
  "texts": {},
  "is_default": false,
  "collections_using": 0,
  "created_at": "2026-11-26T09:30:00Z",
  "updated_at": "2026-11-26T09:30:00Z"
}

Change a brand kit

Changes data

PATCH/v1/brand_kits/{brand_kit_id}

Changes the fields you give: the look (logo, icon, colours), the sender, the support contact the portal and every message show, the links, the portal’s address and the texts. Texts are merged per language; an empty text goes back to Kontiga’s standard one.

Who may
Owner and Admin
CLI
kontiga brand-kits update <brand_kit_id> [--name <text>] [--logo <file.png>] [--icon <file.png>] [--brand-color <#rrggbb>] [--accent-color <#rrggbb>] [--sender-name <text>] [--reply-to <email>] [--support-email <email>] [--support-phone <+country number>] [--support-url <https://...>] [--support-address <text>] [--privacy-url <https://...>] [--terms-url <https://...>] [--portal-domain <domain>] [--show-via-kontiga <true|false>] [--texts '{"sv":{"request_subject":"..."}}']
MCP tool
update_brand_kit
Returns
The brand kit, changed and audited.

Parameters

  • brand_kit_idid (bk_)Required

    The kit to change. In the path.

  • namestring

    Its new name. At most 60 characters.

  • logostring

    The logo as a data URL, a JPEG or PNG of at most 512 KB. An empty value removes it. null clears it.

  • iconstring

    The small square mark of the browser tab and the portal on a phone, a square PNG of at most 128 KB. null clears it.

  • brand_colorstring

    The highlights' colour.

  • accent_colorstring

    The main button’s colour.

  • sender_namestring

    The From name of every message. At most 60 characters.

  • reply_toemail

    Where an end customer’s reply goes.

  • support_emailemail

    The support address end customers see. null clears it.

  • support_phonestring

    The support phone number, in the international form. null clears it.

  • support_urlstring

    A help page, starting with https://. At most 500 characters. null clears it.

  • support_addressstring

    A postal address, on one line as it is printed. At most 200 characters. null clears it.

  • privacy_urlstring

    Your privacy notice, starting with https://. At most 500 characters. null clears it.

  • terms_urlstring

    Your terms, starting with https://. At most 500 characters. null clears it.

  • portal_domainstring

    The portal’s own address, on the plans that offer one. null clears it.

  • show_via_kontigaboolean

    Show "via Kontiga" in footers. The plans with a custom domain may hide it.

  • textsrecord

    Texts by language and key, such as {"en": {"portal_welcome": "..."}}. They are merged per language; an empty text goes back to the standard one.

curl -X PATCH https://api.kontiga.com/v1/brand_kits/bk_4Hm7Rw2 \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "support_email": "help@brightwater.example",
    "support_phone": "+31 20 794 1180"
  }'

PATCH /v1/brand_kits/{brand_kit_id}

Response, 200 OK
{
  "id": "bk_4Hm7Rw2",
  "object": "brand_kit",
  "name": "Brightwater Lending",
  "logo": null,
  "icon": null,
  "brand_color": "#14374F",
  "accent_color": "#1E4D6B",
  "sender_name": "Brightwater Lending",
  "reply_to": "applications@brightwater.example",
  "support_email": "help@brightwater.example",
  "support_phone": "+31 20 794 1180",
  "support_url": null,
  "support_address": "Keizersgracht 214, 1016 DZ Amsterdam",
  "privacy_url": "https://brightwater.example/privacy",
  "terms_url": null,
  "portal_domain": null,
  "show_via_kontiga": true,
  "texts": {
    "en": { "portal_welcome": "Upload what Brightwater Lending asked for. It takes a few minutes, and you can stop and come back." }
  },
  "is_default": true,
  "collections_using": 3,
  "created_at": "2026-09-14T08:12:00Z",
  "updated_at": "2026-11-12T10:05:00Z"
}

Delete a brand kit

Changes data

DELETE/v1/brand_kits/{brand_kit_id}

Removes a brand kit. The default kit cannot be deleted; collections that used this kit use the default from then on.

Who may
Owner and Admin
CLI
kontiga brand-kits delete <brand_kit_id>
MCP tool
delete_brand_kit
Returns
The brand kit is gone; its collections use the default kit.

Parameters

  • brand_kit_idid (bk_)Required

    The kit to delete. The default kit cannot be deleted. In the path.

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

DELETE /v1/brand_kits/{brand_kit_id}

Response, 200 OK
{
  "id": "bk_9Tc2Ls6",
  "object": "brand_kit",
  "deleted": true
}

Collection defaults

The values every collection and request starts from. Reminders never go out in quiet hours, which are read in the end customer’s own time zone. A workspace that has changed nothing reads the defaults: English, the 12 languages, email, SMS and your own delivery, links open 30 days, reminders after 2 and 5 days then weekly up to 6, and quiet hours from 21:00 to 08:00.

Allowed channels, and how a request goes
A request's channelNeeds these allowed
emailemail
smssms
email_and_smsemail and sms
link (you deliver the link yourself)own

A request whose channel the allowed channels do not cover (the collection’s own, else these) is refused with 422 channel_not_allowed; details names the channel, the allowed channels and the ones missing. WhatsApp can be allowed once a WhatsApp sender is connected in Integrations.

A sending domain of your own is on the Growth plan and above. Once set, it is pending until its DNS records, listed in sending_domain_records, are in place; messages leave from it only once it is verified, and from Kontiga’s domain until then. default_brand_kit is null until the workspace has a brand kit.

Read Collect's settings

Reads only

GET/v1/settings/collect

The defaults every collection and request starts from: brand kit, languages, channels, expiry, reminders, quiet hours and the portal’s helper.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga settings get collect
MCP tool
get_collect_settings
Returns
Collect’s settings for this workspace.

No parameters.

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

GET /v1/settings/collect

Response, 200 OK
{
  "object": "collect_settings",
  "default_brand_kit": "bk_4Hm7Rw2",
  "default_language": "en",
  "languages": ["en", "sv", "de", "fr", "es"],
  "channels": ["email", "sms"],
  "default_channel": "email",
  "expiry_days": 30,
  "reminders": { "first_after_days": [2, 5], "then_every_days": 7, "before_expiry": true, "max": 6 },
  "quiet_hours": { "from": "21:00", "to": "08:00" },
  "uploader_helper": true,
  "email_intake": false,
  "sending_domain": null,
  "sending_domain_state": null,
  "sending_domain_records": [],
  "plan": { "name": "Growth", "custom_domain": true, "whatsapp_ready": false },
  "updated_at": "2026-11-05T09:00:00Z",
  "updated_by": { "kind": "member", "id": "mem_9Wd2Hc5", "name": "Maria Lind" }
}

Change Collect's settings

Changes data

PATCH/v1/settings/collect

Changes the fields you give. Collections that set their own value keep it; the rest follow at their next request.

Who may
Owner and Admin
CLI
kontiga settings set collect [--default-brand-kit <bk_id>] [--default-language <locale>] [--languages <locale>,...] [--channels <email|sms|whatsapp|own>,...] [--default-channel <channel>] [--expiry-days <1-90>] [--reminders '{"first_after_days":[2,5],"then_every_days":7,"before_expiry":true,"max":6}'] [--quiet-hours '{"from":"21:00","to":"08:00"}'] [--uploader-helper <true|false>] [--email-intake <true|false>] [--sending-domain <domain>]
MCP tool
update_collect_settings
Returns
Collect’s settings, changed and audited.

Parameters

  • default_brand_kitid (bk_)

    The kit used unless a collection or a request names another.

  • default_languageenum

    The language texts fall back to. Otherwise the end customer’s own language is used. One of en, pt, es, ar, zht, zhs, fr, de, ja, hi, ru, sv.

  • languagesarray of enum

    The languages the portal offers, codes of the 12 (request_locales.list). The default language stays among them. One of en, pt, es, ar, zht, zhs, fr, de, ja, hi, ru, sv.

  • channelsarray of enum

    The ways a request may reach an end customer. One of email, sms, whatsapp, own.

  • default_channelenum

    The way a request goes when none is named, one of the allowed channels. When the allowed channels change without it, it becomes the first of them. One of email, sms, whatsapp, own.

  • expiry_daysinteger

    Days a request’s link stays open, 1 to 90.

  • remindersobject

    first_after_days (up to three), then_every_days (0 for no repeat), before_expiry and max reminders a request, at most 10.

  • quiet_hoursobject

    from and to as HH:MM, in the end customer’s time zone, or null for none. null clears it.

  • uploader_helperboolean

    Offer Help on every step of the portal, which answers what to upload and never says what the checks found.

  • email_intakeboolean

    Parties may email documents: each case gets its own address, and a document emailed there is added to the case and checked like an upload.

  • sending_domainstring

    A domain of your own your messages come from once it is verified. null sends from Kontiga’s. null clears it.

curl -X PATCH https://api.kontiga.com/v1/settings/collect \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "expiry_days": 21,
    "reminders": {
      "first_after_days": [
        2,
        5
      ],
      "then_every_days": 7,
      "before_expiry": true,
      "max": 6
    }
  }'

PATCH /v1/settings/collect

Response, 200 OK
{
  "object": "collect_settings",
  "default_brand_kit": "bk_4Hm7Rw2",
  "default_language": "en",
  "languages": ["en", "sv", "de", "fr", "es"],
  "channels": ["email", "sms"],
  "default_channel": "email",
  "expiry_days": 30,
  "reminders": { "first_after_days": [2, 5], "then_every_days": 7, "before_expiry": true, "max": 6 },
  "quiet_hours": { "from": "21:00", "to": "08:00" },
  "uploader_helper": true,
  "email_intake": false,
  "sending_domain": null,
  "sending_domain_state": null,
  "sending_domain_records": [],
  "plan": { "name": "Growth", "custom_domain": true, "whatsapp_ready": false },
  "updated_at": "2026-11-05T09:00:00Z",
  "updated_by": { "kind": "member", "id": "mem_9Wd2Hc5", "name": "Maria Lind" }
}

Reuse and validity

A new case reuses a person’s earlier documents and checks that are still valid, so they are asked only for what is missing. Each document type and each check has its rule: until it expires, for a period from its date or from its completion, with no time limit, or never reused. A document is reused only while its file is kept, so a validity longer than your retention ends when the file is deleted.

Read reuse and validity

Reads only

GET/v1/settings/reuse

Whether valid earlier documents and checks are reused, how long each type stays valid, and the rules for reuse after retention.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga settings get reuse
MCP tool
get_reuse_settings
Returns
Reuse and validity for this workspace.

No parameters.

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

GET /v1/settings/reuse

Response, 200 OK
{
  "object": "reuse_settings",
  "reuse": true,
  "documents": [
    { "kind": "passport", "label": "Passport", "rule": "until_expiry", "period": null, "margin_days": 30 },
    { "kind": "birth_certificate", "label": "Birth Certificate", "rule": "no_time_limit", "period": null, "margin_days": 0 },
    { "kind": "bank_statements", "label": "Bank Statements", "rule": "from_document_date", "period": { "value": 3, "unit": "months" }, "margin_days": 0 },
    { "kind": "payslip", "label": "Payslip", "rule": "from_document_date", "period": { "value": 2, "unit": "months" }, "margin_days": 0 },
    { "kind": "invoice", "label": "Invoice", "rule": "not_reusable", "period": null, "margin_days": 0 }
  ],
  "checks": [
    { "kind": "identity", "label": "Identity verification", "rule": "until_expiry", "period": { "value": 12, "unit": "months" }, "margin_days": 30 },
    { "kind": "screening", "label": "Screening", "rule": "from_completion", "period": { "value": 30, "unit": "days" }, "margin_days": 0 },
    { "kind": "proof_of_address", "label": "Proof of address", "rule": "from_document_date", "period": { "value": 3, "unit": "months" }, "margin_days": 0 },
    { "kind": "proof_of_funds", "label": "Proof of funds", "rule": "from_document_date", "period": { "value": 3, "unit": "months" }, "margin_days": 0 },
    { "kind": "one_time_code", "label": "One-time code", "rule": "no_time_limit", "period": null, "margin_days": 0 }
  ],
  "recheck_reused": true,
  "reuse_after_deletion": true,
  "retention_days": 90,
  "updated_at": "2026-09-27T10:00:00Z",
  "updated_by": { "kind": "member", "id": "mem_9Wd2Hc5", "name": "Maria Lind" }
}

Change reuse and validity

Changes data

PATCH/v1/settings/reuse

Changes the fields you give. A validity row is given whole; rows left out stay as they are.

Who may
Owner and Admin
CLI
kontiga settings set reuse [--reuse <true|false>] [--documents '[{"kind":"payslip",...}]'] [--checks '[{"kind":"screening",...}]'] [--recheck-reused <true|false>] [--reuse-after-deletion <true|false>]
MCP tool
update_reuse_settings
Returns
Reuse and validity, changed and audited.

Parameters

  • reuseboolean

    Reuse valid earlier documents and checks at all.

  • documentsarray of object

    Validity rows for document types, each given whole: kind (the type, such as payslip), label, rule, period (value and unit, or null) and margin_days before expiry it stops being reused. Rows left out stay as they are. The answer lists every one of the 84 types. At most 84 items.

  • checksarray of object

    Validity rows for checks, in the same shape: identity, screening, proof_of_address, proof_of_funds and one_time_code. At most 10 items.

  • recheck_reusedboolean

    Check a reused document again against what is known today.

  • reuse_after_deletionboolean

    Reuse a check after its files are deleted under retention. A document is never reused once its file is gone.

curl -X PATCH https://api.kontiga.com/v1/settings/reuse \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {
        "kind": "payslip",
        "label": "Payslip",
        "rule": "from_document_date",
        "period": {
          "value": 2,
          "unit": "months"
        },
        "margin_days": 0
      }
    ]
  }'

PATCH /v1/settings/reuse

Response, 200 OK
{
  "object": "reuse_settings",
  "reuse": true,
  "documents": [
    { "kind": "passport", "label": "Passport", "rule": "until_expiry", "period": null, "margin_days": 30 },
    { "kind": "birth_certificate", "label": "Birth Certificate", "rule": "no_time_limit", "period": null, "margin_days": 0 },
    { "kind": "bank_statements", "label": "Bank Statements", "rule": "from_document_date", "period": { "value": 3, "unit": "months" }, "margin_days": 0 },
    { "kind": "payslip", "label": "Payslip", "rule": "from_document_date", "period": { "value": 2, "unit": "months" }, "margin_days": 0 },
    { "kind": "invoice", "label": "Invoice", "rule": "not_reusable", "period": null, "margin_days": 0 }
  ],
  "checks": [
    { "kind": "identity", "label": "Identity verification", "rule": "until_expiry", "period": { "value": 12, "unit": "months" }, "margin_days": 30 },
    { "kind": "screening", "label": "Screening", "rule": "from_completion", "period": { "value": 30, "unit": "days" }, "margin_days": 0 },
    { "kind": "proof_of_address", "label": "Proof of address", "rule": "from_document_date", "period": { "value": 3, "unit": "months" }, "margin_days": 0 },
    { "kind": "proof_of_funds", "label": "Proof of funds", "rule": "from_document_date", "period": { "value": 3, "unit": "months" }, "margin_days": 0 },
    { "kind": "one_time_code", "label": "One-time code", "rule": "no_time_limit", "period": null, "margin_days": 0 }
  ],
  "recheck_reused": true,
  "reuse_after_deletion": true,
  "retention_days": 90,
  "updated_at": "2026-09-27T10:00:00Z",
  "updated_by": { "kind": "member", "id": "mem_9Wd2Hc5", "name": "Maria Lind" }
}

Validity rules

The same rules are read and set one subject at a time as validity rules: a document type, such as passport or payslip, or a check (identity, screening, proof_of_address, proof_of_funds, one_time_code). Each rule says where it was set, its level: default (Kontiga’s, until you change it), workspace, collection or requirement. The rule that applies to a request is its requirement’s, else its collection’s, else the workspace’s, else the default. A rule set back to the default is the default again.

Kontiga’s defaults: identity documents until 30 days before they expire; birth, marriage and death certificates, divorce decrees, social security cards, diplomas and transcripts with no time limit; bank statements, payslips, investment statements, account confirmations and credit reports 3 months from their date; tax returns, financial statements and company registration papers 12 months from their date; licences until they expire; every other type, and every custom document, not reused. An identity verification is reused until its document expires less 30 days, and at most 12 months after it was done; a screening for 30 days, or for as long as the person is monitored; a proof of address or of funds 3 months from its date. Months are calendar months: a day past the end of the month falls on its last day, so 30 November and 3 months is the last day of February.

List the validity rules

Reads only

GET/v1/validity_rules

How long each kind of document and each check stays reusable for a returning person: the rule, its period and its margin, and where it was set. The same rules as reuse and validity in Settings. Name a collection, and one of its requirements, to see the rules in force there.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga validity-rules list [--collection-id <col_id>] [--requirement-id <rqm_id>]
MCP tool
list_validity_rules
Returns
Every rule in force, documents first, then checks, each with the level it was set at.

Parameters

  • collection_idid (col_)

    Optional. The rules in force for this collection’s requests, its own where it set one.

  • requirement_idid (rqm_)

    Optional, with collection_id. The rules in force for this requirement, a custom document’s rule (custom) included.

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

GET /v1/validity_rules

Response, 200 OK
[{
  "id": "vrl_8Kt3Wm5",
  "object": "validity_rule",
  "level": "workspace",
  "subject": "payslip",
  "label": "Payslip",
  "group": "document",
  "kind": "from_document_date",
  "period": {
    "value": 3,
    "unit": "months"
  },
  "margin_days": 0,
  "updated_at": "2026-11-20T10:00:00Z",
  "updated_by": {
    "kind": "member",
    "id": "mem_4Rt8Jw2",
    "name": "Ines Moreau"
  }
}]

Set a validity rule

Changes data

PUT/v1/validity_rules/{subject}

Change how long one kind of document or one check stays reusable: for the whole workspace, or for one collection or one of its requirements, whose own rule wins over the workspace’s. Requests already sent keep what they reused; the next request follows the new rule.

Who may
Owner and Admin
CLI
kontiga validity-rules set <subject> --kind <until_expiry|from_document_date|from_completion|no_time_limit|not_reusable|inherit> [--period '{"value":3,"unit":"months"}'] [--margin-days <0-365>] [--collection-id <col_id>] [--requirement-id <rqm_id>]
MCP tool
set_validity_rule
Returns
The rule, changed and audited.

Parameters

  • subjectstringRequired

    A document type, such as payslip, a check, such as screening, or custom for a custom document’s requirement. In the path.

  • kindenumRequired

    until_expiry, from_document_date, from_completion, no_time_limit or not_reusable; or inherit, which removes a collection’s or a requirement’s own rule.

  • periodobject

    How long it stays valid, value (1 to 120) and unit (days or months), for from_document_date and from_completion. For until_expiry, an outer limit: from completion for a check, from its date for a document. null clears it.

  • margin_daysinteger

    For until_expiry: how many days before the expiry it stops being reused, 0 to 365.

  • collection_idid (col_)

    Optional. Sets the collection’s own rule instead of the workspace’s. A check’s rule is set for the workspace or a collection.

  • requirement_idid (rqm_)

    Optional, with collection_id. Sets that requirement’s own rule.

curl -X PUT https://api.kontiga.com/v1/validity_rules/payslip \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "from_document_date",
    "period": {
      "value": 2,
      "unit": "months"
    }
  }'

PUT /v1/validity_rules/{subject}

Response, 200 OK
{
  "id": "vrl_8Kt3Wm5",
  "object": "validity_rule",
  "level": "workspace",
  "subject": "payslip",
  "label": "Payslip",
  "group": "document",
  "kind": "from_document_date",
  "period": {
    "value": 2,
    "unit": "months"
  },
  "margin_days": 0,
  "updated_at": "2026-11-27T09:00:00Z",
  "updated_by": {
    "kind": "member",
    "id": "mem_4Rt8Jw2",
    "name": "Ines Moreau"
  }
}