List contracts
/contractsLists contracts, newest first, one page at a time. A contract is visible when its folder is readable by the caller; others answer 404. Templates are not contracts: see GET /contract-templates. Investors and advisors see only contracts held by themselves or by one of their teams; others see every contract in a readable folder. filter[signatory_id] matches a contract held by that id and, for a user id, by that user's team. Reading never creates a contract from a template. POST /contracts/exports makes a CSV.
Query parameters
- Default:
Page size (1–100). Defaults to 25; values are clamped to the range.
25 Opaque pagination cursor taken from a prior response's
meta.next_cursor.Comma-separated top-level fields to return.
idis always returned.Comma-separated fields to sort by: created_at. Prefix a field with
-for descending. Defaults to-created_at. The id is always the final tiebreak.Rows kept directly in this folder, not in its subfolders. Takes
[in]and[not_in]with a comma-separated list.Rows kept in a folder in this folder's subtree. Takes
[in]and[not_in]with a comma-separated list of at most 50 folder ids.Contracts kept in the folder tree of this deal. A deal the caller cannot see gives an empty list. Takes
[in]and[not_in]with a comma-separated list.Contracts held by this id. For a user id, also the contracts held by that user's team. Takes
[in]and[not_in]with a comma-separated list.- One of:
Contracts held by a user or by a team: user or group. Takes
[in]and[not_in]with a comma-separated list.user,group Contracts made from this template. Takes
[in]and[not_in]with a comma-separated list.true for contracts that are completed, false for open ones.
Created at or after / before a UTC date-time such as 2026-03-01T00:00:00Z. Use
[gt],[gte],[lt]or[lte].
Responses
{
"data": [
{
"id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"folder_id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"signatory": {
"id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"type": "user"
},
"template_id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"completed_at": "2026-06-12T10:00:00+00:00",
"created_at": "2026-06-12T10:00:00+00:00",
"updated_at": "2026-06-12T10:00:00+00:00"
}
],
"meta": {
"limit": 1,
"next_cursor": "string",
"prev_cursor": "string"
}
}Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per
problem, or a code documented on the operation.
Examples
curl https://your-org-domain/kong/core/api/v2/contracts\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"