entityKey (e.g. client, product, cost_center, work_order).entityKey. Use the entity schema/fields endpoints to discover an entity's fields.401.mode query parameter selects the response shape (default api, a paginated list):| Value | Meaning |
|---|---|
| api | Paginated list (default). |
| paginate | Paginated list. |
| listing | Lightweight id/label list, for dropdowns. |
| count | Returns only { "total": <n> }. |
| export | Export-oriented payload. |
| nav | Navigation (prev/next) payload. |
filter[<field>][<operator>]=<value> (operators include equal, like); group alternatives under filter[or][<field>][<operator>]=<value>.fields[]=<column> (repeatable) to limit the columns returned.curl --location --globoff 'https://.daftra.com/v2/api/entity/v2/api/entity/client/list/2?mode=api&fields[]=id&filter[%3Cfield%3E][%3Coperator%3E]=acme&per_page=20&page=1&sort=id&version=2' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"current_page": 1,
"data": [
{}
],
"from": 1,
"to": 1,
"per_page": 20,
"last_page": 1,
"total": 1,
"path": "https://{subdomain}.daftra.com/v2/api/entity/client/list/2"
}