List clients
GET
apiKeyheader
AuthorizationBearer <token>An API key (blk_…) from Settings → API keys.
page?integerRange
1 <= value <= 100000Default
1pageSize?integerRange
1 <= value <= 100Default
25sort?stringMatch
^[A-Za-z]+:(asc|desc)$q?stringLength
length <= 100status?stringDefault
"active"Value in
"active""archived"application/json- response
items*array<>total*integerRange
-9007199254740991 <= value <= 9007199254740991page*integerRange
-9007199254740991 <= value <= 9007199254740991pageSize*integerRange
-9007199254740991 <= value <= 9007199254740991curl -X GET 'https://your-billleaf-api/v1/clients'Example Response200
{ "items": [ { "id": "string", "workspaceId": "string", "type": "company", "name": "string", "email": "string", "phone": "string", "website": "string", "taxId": "string", "addressLine1": "string", "addressLine2": "string", "city": "string", "state": "string", "postalCode": "string", "country": "string", "currency": "string", "paymentTermsDays": -9007199254740991, "notes": "string", "status": "active", "archivedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "total": -9007199254740991, "page": -9007199254740991, "pageSize": -9007199254740991}