Base URL: https://api.caraaye.com/v1
/v1/employeesList all provisioned employees and their circle assignments, verification status, and Trust Score.
/v1/employeesProvision a new employee. Triggers SMS/email onboarding flow automatically.
/v1/circlesList all active circles with current membership, route corridor, and shift window.
/v1/completionsRetrieve GPS-verified route completion records, filterable by date range, circle, and employee.
/v1/esg/summaryRetrieve aggregate ESG metrics: total CO₂ saved, modal shift percentage, and vehicle reduction count.
/v1/esg/reportGenerate a dated ESG report export in JSON or PDF. Used for board submissions and CSR reporting.
/v1/subsidies/loadPre-load employer transport subsidies into employee wallets. Consumed per verified ride.
/v1/trust-scores/{employeeId}Retrieve a specific employee's Trust Score breakdown: verification components, attendance, and peer endorsements.
curl -X GET https://api.caraaye.com/v1/completions \
-H "Authorization: Bearer {API_KEY}" \
-H "Content-Type: application/json" \
-G \
--data-urlencode "from=2025-06-01" \
--data-urlencode "to=2025-06-30" \
--data-urlencode "circle_id=crc_abc123"{
"data": [
{
"id": "cmp_x9g2f",
"employee_id": "emp_1234",
"circle_id": "crc_abc123",
"date": "2025-06-14",
"direction": "morning",
"verified": true,
"distance_km": 12.4,
"cost_share_pkr": 48.50
}
],
"meta": { "total": 1, "page": 1 }
}