Counterparties

List counterparties

Lists counterparties for the authenticated organization.

get/v1/counterparties

Query parameters

pageinteger

Page number (1-based).

Example:1

Page number (1-based).

pageSizeinteger

Items per page (max 100).

Example:20

Items per page (max 100).

includeArchivedboolean

Include archived counterparties in results.

Include archived counterparties in results.

Headers

x-project-idstring

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Example:prj_example

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Response

Counterparties list

Example response

{
  "data": {
    "counterparties": [
      {
        "id": "cpty_example",
        "organizationId": "org_example",
        "projectId": "prj_example",
        "externalId": "customer_42",
        "entityType": "individual",
        "displayName": "Jane Doe",
        "status": "active",
        "createdBy": "usr_example",
        "createdAt": "2025-01-01T00:00:00.000Z",
        "updatedAt": "2025-01-02T00:00:00.000Z"
      }
    ],
    "total": 42,
    "page": 1,
    "pageSize": 20
  },
  "meta": {
    "requestId": "req_example",
    "timestamp": "2025-01-01T00:00:00.000Z"
  }
}

Changes