Returns a paginated list of counterparties in your organization. Supports cursor-based pagination, sorting, and filtering.
API key for authentication. Get your key at https://app.tomorro.com/settings/integrations?integration=api-key
Number of items per page (1-50)
1 <= x <= 5020
Cursor for forward pagination. Use the next_cursor value from a previous response.
"eyJpZCI6IjEyMyJ9"
Cursor for backward pagination. Use the prev_cursor value from a previous response.
"eyJpZCI6IjEwMCJ9"
Sort order. Comma-separated list of fields. Prefix with - for descending. Allowed fields: id, name, status, createdAt, updatedAt. Default: -createdAt
"-createdAt,name"
Filter by status. Formats: status=active (equality), status=in:active,archived (in list)
"active"
Filter by name. Partial match on the counterparty name.
"Acme"
List of counterparties with pagination info
An array of Counterparty objects.
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Acme Corporation",
"status": "active"
}
]Pagination metadata including cursors and navigation flags.
{
"limit": 20,
"next_cursor": "eyJpZCI6IjEyMyJ9",
"prev_cursor": "eyJpZCI6IjEwMCJ9",
"has_next": true,
"has_previous": false
}HATEOAS navigation links for pagination.
{
"self": "/counterparties?limit=20",
"next": "/counterparties?limit=20&after=eyJpZCI6IjEyMyJ9",
"prev": "/counterparties?limit=20&before=eyJpZCI6IjEwMCJ9"
}