Récupère la liste de tous les clients de l'entreprise avec pagination, tri et recherche.
Recherche
Le paramètre search permet une recherche textuelle dans :
- Le nom du client
- L'email
- Le numéro de téléphone
- Le code client
Tri
Utilisez sort avec le format champ:direction où direction est 1 (asc) ou -1 (desc).
Exemples : "name:1", "createdAt:-1"
Query parameters
-
Nombre maximum de clients à retourner
Default value is
20. -
Nombre de clients à ignorer (pagination)
Default value is
0. -
Champ et direction de tri (ex. "name:1" pour tri alphabétique)
-
Filtrer par état (active = visible, inactive = archivé)
Values are
activeorinactive. -
Recherche textuelle dans nom, email, téléphone, code client
GET
/clients
curl \
--request GET 'https://wuro.pro/api/v3.2/clients' \
--header "X-APP-ID: $API_KEY" \
--header "X-APP-SECRET: $API_KEY"
Response examples (200)
{
"clients": [
{
"_id": "string",
"name": "string",
"email": "hello@example.com",
"phone": "string",
"phoneFormat": "string",
"mobile": "string",
"mobileFormat": "string",
"fax": "string",
"address": "string",
"address_complement": "string",
"address_end": "string",
"zip_code": "string",
"city": "string",
"country": "France",
"company": "string",
"category": "string",
"client_code": "string",
"analytical_code": "string",
"siren": "string",
"nic": "string",
"tva_number": "string",
"website": "string",
"description": "string",
"notes": "string",
"avatar": {},
"client_contact": "string",
"mainInterlocutor": "string",
"positionsAssigned": [
"string"
],
"positionCreator": "string",
"positionLastUpdator": "string",
"tags": [
"string"
],
"state": "active",
"stats": {
"nbInvoices": 0,
"nbNotes": 0,
"nbReminders": 0,
"nbFiles": 0,
"nbPurchases": 0,
"nbQuotes": 0,
"nbDeliveryReceipts": 0
},
"extraData": {},
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z"
}
],
"total": 42,
"limit": 42,
"skip": 42
}