API reference
POSTRequires Bearer token
Import clients
/api/clients/import
Company-admin. 1–1000 rows, same keys as create. Dedup key is email (existing emails are skipped, not errors). Throttled (10/min).
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
clients Required | array | 1–1000 client objects (name, firstname, cni_number, phone, email, motif_demande).e.g. [{"name":"Dupont","firstname":"Marie","cni_number":"CI123456","phone":"+2250700000000","email":"marie@example.com","motif_demande":"Account opening"}] |
Responses
| Status | Meaning |
|---|---|
| 200 | Imported |
| 401 | Missing or invalid Bearer token. |