Base URLs
Each Clara market operates on its own base URL. Use the one that matches your company’s Clara account.| Market | Base URL |
|---|---|
| Mexico | https://public-api.mx.clara.com |
| Brazil | https://public-api.br.clara.com |
| Colombia | https://public-api.co.clara.com |
API Versions
| Version | Status | Recommendation |
|---|---|---|
| v3 | Current | Use for all new integrations |
| v2 | Stable | Supported, not deprecated |
| v1 | Legacy | Avoid for new work |
Authentication
Every request requires two layers of authentication:- Mutual TLS (mTLS) — a valid X.509 client certificate in every request
- Bearer token — a JWT obtained from the Auth0 token endpoint
access_token. Pass it as Authorization: Bearer <token> on all subsequent requests, alongside your client certificate.
See Authentication for the full setup guide, including certificate provisioning and token refresh.
Quick Start
The following example retrieves your 10 most recent transactions. Replace<BASE_URL> with your market’s base URL and <TOKEN> with a valid Bearer token.
TransactionResponseV3 objects:
What You Can Build
Card Management
Issue physical and virtual cards, set spending limits, lock/unlock, and configure merchant and time restrictions.
Transactions
List, filter, and export transactions with full merchant, user, label, and accounting data.
User Provisioning
Create, update, and deactivate users. Manage roles, cost centers, and manager assignments.
Invoices & Fiscal Docs
Retrieve CFDI fiscal invoices and extracted documents linked to transactions. Mexico only.
Reconciliation
Access monthly billing statements with embedded transaction detail for automated reconciliation.
Reimbursements
Query and manage employee reimbursement records by date, status, or requester.
Digital Account
Retrieve PIX, TED, and bill payment transactions for Brazil digital accounts.
Virtual Cards (VCN)
Generate and manage Virtual Card Numbers for controlled B2B purchasing with spending rules.
Clara MCP
Connect Claude, ChatGPT, Gemini, or any MCP-compatible AI assistant directly to Clara data.
Pagination
List endpoints return paginated responses usingpage (zero-indexed) and size query parameters.
currentPage equals totalPages - 1, or until a page returns fewer items than size.
Errors
Clara API uses standard HTTP status codes.| Code | Meaning |
|---|---|
200 | Success |
400 | Bad request — invalid parameters or missing required fields |
401 | Unauthorized — missing or invalid Bearer token |
403 | Forbidden — valid token but insufficient permissions |
404 | Not found |
429 | Rate limit exceeded |
500 | Internal server error |
message field describing the issue.
Rate Limits
Requests are rate-limited per client certificate. Write endpoints (POST, PATCH, DELETE) have lower limits than read endpoints (GET). If you receive a 429, back off and retry with exponential backoff. See Error Handling for a retry implementation example, or contact your Clara integration team for limit increases.
Sandbox
A sandbox environment is available for testing. Use the same base URL structure with the/api-test/ path prefix:
