Skip to main content
Clara API gives you programmatic control over every aspect of corporate spend management — issue and manage cards, retrieve transactions, handle users, process invoices, and generate reconciliation reports. All through a consistent REST interface with JSON request and response bodies.

Base URLs

Each Clara market operates on its own base URL. Use the one that matches your company’s Clara account.

API Versions

All three versions are documented in this reference. When an endpoint exists in multiple versions, prefer v3.

Authentication

Every request requires two layers of authentication:
  1. Mutual TLS (mTLS) — a valid X.509 client certificate in every request
  2. Bearer token — a JWT obtained from the Auth0 token endpoint
The response includes an 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.
A successful response returns a paginated list of 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 using page (zero-indexed) and size query parameters.
Continue requesting until currentPage equals totalPages - 1, or until a page returns fewer items than size.

Errors

Clara API uses standard HTTP status codes. Error responses include a JSON body with a 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:
Contact your Clara integration team for sandbox credentials.