# Get Clients KPI Returns KPI metrics for clients over the last 12 months. Endpoint: GET /api/v3/dashboard/clients_kpi Version: 3.1.0 Security: apiKeyAuth ## Query parameters: - `api_key` (string, required) Your API Key. Example: "YOUR_API_KEY" ## Response 200 fields (application/json): - `total_active_clients` (integer) Sum of recurring and new clients for the last 12 months Example: 1200 - `total_active_clients_change_percent` (number) Percentage change compared to the homologous 12-month period Example: 15.5 - `new_clients_in_period` (integer) Sum of new clients for the last 12 months Example: 300 - `avg_revenue_per_active_client` (number) Average revenue per active client based on total_before_taxes from report_client_invoicings Example: 450.75 - `avg_revenue_per_new_client` (number) Average revenue per new client based on total_before_taxes from invoicing_per_clients filtered by first_invoice Example: 320 ## Response 401 fields (application/json): - `errors` (array) Example: [{"error":"Authentication Error"}] - `errors.error` (string) ## Response 500 fields (application/json): - `errors` (array) Example: [{"error":"An unexpected error occurred"}] - `errors.error` (string)