Skip to main content
POST
/
v1
/
config
/
contexts
Create a reconciliation context
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/config/contexts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "interval": "daily",
  "name": "Bank Reconciliation Q1",
  "type": "1:1"
}
'
{
  "id": "1e224c53-dac6-4a1c-bf1e-5aeff8979f5f",
  "tenantId": "11111111-1111-1111-1111-111111111111",
  "name": "Bank Reconciliation Q1",
  "type": "1:1",
  "interval": "daily",
  "status": "ACTIVE",
  "feeToleranceAbs": 0,
  "feeTolerancePct": 0,
  "createdAt": "2026-02-02T13:37:55Z",
  "updatedAt": "2026-02-02T13:37:55Z"
}

Authorizations

Authorization
string
header
required

Bearer token authentication (format: "Bearer {token}")

Headers

X-Request-Id
string

A unique identifier for tracing the request across services.

Body

application/json

Context creation payload

interval
string
required
Required string length: 1 - 100
Example:

"daily"

name
string
required
Required string length: 1 - 100
Example:

"Bank Reconciliation Q1"

type
enum<string>
required

Reconciliation topology (cardinality between sources)

Available options:
1:1,
1:N,
N:M
Example:

"1:1"

Response

Successfully created context

id
string
Example:

"1e224c53-dac6-4a1c-bf1e-5aeff8979f5f"

tenantId
string
Example:

"11111111-1111-1111-1111-111111111111"

name
string
Example:

"Bank Reconciliation Q1"

type
enum<string>

Reconciliation topology (cardinality between sources)

Available options:
1:1,
1:N,
N:M
interval
string
Example:

"daily"

status
enum<string>

Lifecycle status of a reconciliation context

Available options:
ACTIVE,
PAUSED
feeToleranceAbs
number
Example:

0

feeTolerancePct
number
Example:

0

createdAt
string
Example:

"2026-02-02T13:37:55Z"

updatedAt
string
Example:

"2026-02-02T13:37:55Z"