# Clara · Mexico · en

Documentation reviewed: 2026-11-22

## REST API · Mexico

MXN · Cards, transactions, users and webhooks. CFDI invoice endpoints are specific to Mexico.

Base URL: https://public-api.mx.clara.com
Currency: MXN

1. Create an API project in Clara with the permissions your integration needs. Store its credentials securely.
2. Use your client certificate and private key for mTLS, then obtain an OAuth 2.0 access token.
3. Request the first page of transactions. Follow pagination when exporting more records.

CLARA_CLIENT_CERT and CLARA_PRIVATE_KEY are local file paths. CLARA_ACCESS_TOKEN is an OAuth access token. Keep all credentials in your secret manager or runtime environment.

```sh
curl --fail-with-body \
  --cert "$CLARA_CLIENT_CERT" \
  --key "$CLARA_PRIVATE_KEY" \
  --header "Authorization: Bearer $CLARA_ACCESS_TOKEN" \
  "https://public-api.mx.clara.com/api/v3/transactions?page=0&size=10"
```

Expected result: HTTP 200 with content, totalElements, totalPages, size and number. page starts at 0. Sandbox access and credentials are separate; request access from integration support.

## Sandbox

```sh
curl --fail-with-body \
  --cert "$CLARA_CLIENT_CERT" \
  --key "$CLARA_PRIVATE_KEY" \
  --header "Authorization: Bearer $CLARA_ACCESS_TOKEN" \
  "https://public-api.mx.clara.com/api-test/v3/transactions?page=0&size=10"
```

## Product MCP · Beta

Requires an existing Clara account with the Company Owner or Bookkeeper role. No API key or static token is needed.

Product MCP server: https://mx.clara.team/mcp

- list_cards [Read]: List company cards, cardholders, status and limits.
- list_transactions [Read]: Retrieve company card transactions with filters.
- list_companies [Read]: List accessible companies and identify the active one.
- lock_card [Account action]: Immediately lock a card.
- unlock_card [Account action]: Immediately unlock a card.
- upload-transaction-document [Account action]: Attach a receipt or invoice to a transaction.
- switch_company [Session change]: Change the active company for subsequent calls.

MCP does not issue cards, change limits, approve expenses, manage reimbursements or move money.

Your assistant provider receives and processes the data returned by tool calls under its own terms.

To revoke connected assistant access, contact Clara support. The current documentation describes no self-service revocation screen.

## Documentation search MCP

https://developers.clara.team/mcp
Searches public documentation. It does not connect to your Clara account.

## Agent implementation instructions

Can an agent create its own API credentials?

No. A person with administrator access creates an API project in Clara. REST requests require both mTLS and an OAuth 2.0 Bearer token. Product MCP instead uses Clara account login with OAuth.

Is the OpenAPI specification exhaustive?

No. The published OpenAPI 3.1 file covers a documented v3 subset. Check the canonical reference and country availability before relying on an operation.

- authentication: https://developers.clara.team/authentication
- openapi: https://developers.clara.team/openapi.json
- countries: https://developers.clara.team/country-features
- sandbox: https://developers.clara.team/sandbox
- transactions: https://developers.clara.team/api-reference/transactions
- webhooks: https://developers.clara.team/api-reference/webhooks
- mcp: https://developers.clara.team/mcp/introduction
- quickstart: https://developers.clara.team/mcp/quickstart
- tools: https://developers.clara.team/mcp/tools
- agents: https://developers.clara.team/agent-instructions.md
- pricing: https://developers.clara.team/pricing

- Capabilities JSON: https://www.clara.com/developers/capabilities.json
- Keep your integration running: mailto:integration.support.mx@clara.team
