---
title: "Save or check the Master Records configuration"
method: PUT
path: "/v1/master-records/config"
tags: ["Master Records"]
---

# Save or check the Master Records configuration

`PUT /v1/master-records/config`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/master-records/config`
- Auth: HTTP bearer

The whole configuration replaces the stored one. Each domain needs at least one source with a unique label, an existing SQL connection of the workspace and a single read-only `SELECT` (checked for the connection's engine), and the optional `changes` and `open_items` queries must name one of the domain's sources. Thresholds are between 0 and 1 and `review_threshold` does not exceed `auto_threshold`. With `dry_run` the configuration is only checked. Requires scope `write`.

## Request body

- object
  - `config` MasterRecordsConfig, required
    - `domains` object, required: Per domain: `vendors` (fields id, name, tax_id, country, city, street, iban, payment_terms), `customers` (id, name, tax_id, country, city, street) or `materials` (id, name, material_class). `id` and `name` are required.
      - `vendors` MasterRecordsDomainConfig
        - `sources` MasterRecordsSource[], required: Systems of record, in survivorship priority order (the first wins a tie).
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `changes` MasterRecordsSource[]: Change logs; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `open_items` MasterRecordsSource[]: Open payables per record; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `evidence` object: Documents that must back a bank-detail change: the latest completed run of a Spec.
          - `schema_id` string, uuid, required: The Spec's schema id.
          - `fields` object, required
            - `party` string, required
            - `iban` string, required
            - `references` string
            - `date` string
            - `kind` string
        - `auto_threshold` number: Pair probability at or above which a match merges without review. Default from the platform configuration.
        - `review_threshold` number: Pair probability at or above which a match is proposed for review.
      - `customers` MasterRecordsDomainConfig
        - `sources` MasterRecordsSource[], required: Systems of record, in survivorship priority order (the first wins a tie).
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `changes` MasterRecordsSource[]: Change logs; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `open_items` MasterRecordsSource[]: Open payables per record; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `evidence` object: Documents that must back a bank-detail change: the latest completed run of a Spec.
          - `schema_id` string, uuid, required: The Spec's schema id.
          - `fields` object, required
            - `party` string, required
            - `iban` string, required
            - `references` string
            - `date` string
            - `kind` string
        - `auto_threshold` number: Pair probability at or above which a match merges without review. Default from the platform configuration.
        - `review_threshold` number: Pair probability at or above which a match is proposed for review.
      - `materials` MasterRecordsDomainConfig
        - `sources` MasterRecordsSource[], required: Systems of record, in survivorship priority order (the first wins a tie).
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `changes` MasterRecordsSource[]: Change logs; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `open_items` MasterRecordsSource[]: Open payables per record; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `evidence` object: Documents that must back a bank-detail change: the latest completed run of a Spec.
          - `schema_id` string, uuid, required: The Spec's schema id.
          - `fields` object, required
            - `party` string, required
            - `iban` string, required
            - `references` string
            - `date` string
            - `kind` string
        - `auto_threshold` number: Pair probability at or above which a match merges without review. Default from the platform configuration.
        - `review_threshold` number: Pair probability at or above which a match is proposed for review.
  - `dry_run` boolean

## Response `200`

The configuration as saved, or as checked.

- object
  - `config` MasterRecordsConfig
    - `domains` object, required: Per domain: `vendors` (fields id, name, tax_id, country, city, street, iban, payment_terms), `customers` (id, name, tax_id, country, city, street) or `materials` (id, name, material_class). `id` and `name` are required.
      - `vendors` MasterRecordsDomainConfig
        - `sources` MasterRecordsSource[], required: Systems of record, in survivorship priority order (the first wins a tie).
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `changes` MasterRecordsSource[]: Change logs; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `open_items` MasterRecordsSource[]: Open payables per record; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `evidence` object: Documents that must back a bank-detail change: the latest completed run of a Spec.
          - `schema_id` string, uuid, required: The Spec's schema id.
          - `fields` object, required
            - `party` string, required
            - `iban` string, required
            - `references` string
            - `date` string
            - `kind` string
        - `auto_threshold` number: Pair probability at or above which a match merges without review. Default from the platform configuration.
        - `review_threshold` number: Pair probability at or above which a match is proposed for review.
      - `customers` MasterRecordsDomainConfig
        - `sources` MasterRecordsSource[], required: Systems of record, in survivorship priority order (the first wins a tie).
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `changes` MasterRecordsSource[]: Change logs; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `open_items` MasterRecordsSource[]: Open payables per record; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `evidence` object: Documents that must back a bank-detail change: the latest completed run of a Spec.
          - `schema_id` string, uuid, required: The Spec's schema id.
          - `fields` object, required
            - `party` string, required
            - `iban` string, required
            - `references` string
            - `date` string
            - `kind` string
        - `auto_threshold` number: Pair probability at or above which a match merges without review. Default from the platform configuration.
        - `review_threshold` number: Pair probability at or above which a match is proposed for review.
      - `materials` MasterRecordsDomainConfig
        - `sources` MasterRecordsSource[], required: Systems of record, in survivorship priority order (the first wins a tie).
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `changes` MasterRecordsSource[]: Change logs; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `open_items` MasterRecordsSource[]: Open payables per record; each `label` names one of the domain's sources.
          - `label` string, required: Display label of the system, for example ERP-IFF. Unique within a domain; part of every member key.
          - `connection_id` string, uuid, required: A SQL connection of the workspace.
          - `sql` string, required: One read-only SELECT. Sources alias their columns to the domain's canonical fields; change logs return `changed_at`, `id`, `field`, `old_value`, `new_value` and optionally `changed_by`; open items return `id` and `amount`.
        - `evidence` object: Documents that must back a bank-detail change: the latest completed run of a Spec.
          - `schema_id` string, uuid, required: The Spec's schema id.
          - `fields` object, required
            - `party` string, required
            - `iban` string, required
            - `references` string
            - `date` string
            - `kind` string
        - `auto_threshold` number: Pair probability at or above which a match merges without review. Default from the platform configuration.
        - `review_threshold` number: Pair probability at or above which a match is proposed for review.
  - `saved` boolean: False for a dry run.

## Other responses

- `400`: The request is invalid.
- `403`: The API key does not have the required scope.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/master-records/config/put.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
