ClaroDocs
API Reference

API Endpoints

Complete reference for all Claro public REST API endpoints.

The Claro API uses Bearer token authentication with API keys. All endpoints are versioned under /api/v1/.

See Authentication for how to generate and use API keys.

Available endpoints

The full interactive API reference is generated from the OpenAPI specification and available at your Claro API server:

http://your-claro-domain:3001/api/docs

When running locally with SWAGGER_ENABLED=true, open http://localhost:3001/api/docs to explore all endpoints with request/response schemas and try them directly.

Endpoint categories

Campaigns

MethodPathScopeDescription
GET/api/v1/campaignsreadList all campaigns
GET/api/v1/campaigns/:idreadGet campaign details

Users

MethodPathScopeDescription
GET/api/v1/usersreadList users
GET/api/v1/users/:idreadGet user details

Reports

MethodPathScopeDescription
GET/api/v1/reports/campaigns/:idreadGet campaign report
GET/api/v1/reports/risk-scoresreadGet risk score distribution

More endpoints are added as the public API expands. Check Swagger UI for the full list.