Skip to main content
GET
List contracts

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

tenant-id
string
required

Specifies the tenant context for the request. All endpoints operate within this tenant scope.

Example:

"tnt_pfh0haxfpzowht3oi213cqos"

Query Parameters

expand
string

Comma-separated list of relations to expand. Allowed values: client, tenantAddress, clientAddress.

Example:

"client,tenantAddress,clientAddress"

clientId
string

Unique identifier of the client.

Minimum string length: 1
Example:

"clnt_z2b3mo8qa5kzptgsu26q2wmh"

sort
string

Comma-separated list of sort clauses in "field:direction" format. Allowed fields: name, amountMinor, validFrom, validTo, client.name, client.order, order, createdAt, updatedAt. Allowed directions: asc, desc.

Example:

"name:asc,amountMinor:desc"

Response

Default Response

Standard success response payload wrapped in a data property.

data
object[]
required

List of contracts returned by the API.