Skip to main content

List Clients

GET /public/action/clients/list

Lists active clients in the workspace.

Authentication: X-API-KEY header (see Authentication).

Request

curl -X GET https://api.withmoxie.com/public/action/clients/list \
-H "X-API-KEY: your_api_key_here"

Response

Returns an array of Client objects (id, name, contacts, address, tax and billing details).

[
{
"id": "66b0f2a1c3a9e40012ab34cd",
"accountId": 10016,
"name": "Acme Kft.",
"clientType": "Client",
"address1": "Váci út 1.",
"city": "Budapest",
"postal": "1052",
"country": "HU",
"website": "https://acme.example",
"phone": "+36 1 234 5678",
"taxId": "12345678-2-41",
"currency": "HUF",
"defaultTaxRate": 27,
"payInstructions": "Bank transfer within 8 days.",
"notes": null,
"customValues": [
{
"fieldId": "5f9c...",
"mappingKey": "account_manager",
"fieldName": "Account Manager",
"value": "Jane Doe",
"type": "TEXT"
}
],
"contacts": [
{
"id": "66b0f3b2c3a9e40012ab5500",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@acme.example",
"invoiceContact": true
}
]
}
]