# Codat Expense API API

> The API for Sync for Expenses. Sync for Expenses is an API and a set of supporting tools. It has been built to enable corporate card and expense management platforms to provide high-quality integrations with multiple accounting platforms through a standardized API. [Read more...](https://docs.codat.io/sync-for-expenses/overview) [See our OpenAPI spec](https://github.com/codatio/oas)

Codat Expense API is a finance API from codat.io. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 13 endpoints.

## At a glance

- Category: [Finance](https://www.openparable.com/apis/category/finance)
- Provider: codat.io
- Authentication: API key
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://api.codat.io
- Documentation: https://www.codat.io/
- OpenAPI description: https://api.apis.guru/v2/specs/codat.io/sync-for-expenses/prealpha/openapi.json
- Version: prealpha
- Specification updated: 2023-04-18

## Example request

```bash
curl -X GET "https://api.codat.io/companies/COMPANYID/sync/expenses/config" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
```

## Endpoints

- `GET /companies/{companyId}/sync/expenses/config` — Get company configuration
- `POST /companies/{companyId}/sync/expenses/config` — Set company configuration
- `POST /companies/{companyId}/sync/expenses/connections/partnerExpense` — Create Partner Expense connection
- `POST /companies/{companyId}/sync/expenses/data/expense-transactions` — Create expense-transactions
- `GET /companies/{companyId}/sync/expenses/mappingOptions` — Mapping options
- `POST /companies/{companyId}/sync/expenses/syncs` — Initiate sync
- `GET /companies/{companyId}/sync/expenses/syncs/lastSuccessful/status` — Last successful sync
- `GET /companies/{companyId}/sync/expenses/syncs/latest/status` — Latest sync status
- `GET /companies/{companyId}/sync/expenses/syncs/list/status` — List sync statuses
- `GET /companies/{companyId}/sync/expenses/syncs/{syncId}/status` — Get Sync status
- `GET /companies/{companyId}/sync/expenses/syncs/{syncId}/transactions` — Get Sync transactions
- `GET /companies/{companyId}/sync/expenses/syncs/{syncId}/transactions/{transactionId}` — Get Sync Transaction
- `POST /companies/{companyId}/sync/expenses/syncs/{syncId}/transactions/{transactionId}/attachments` — Upload attachment

## Questions

### Does the Codat Expense API API need an API key?

Yes. The Codat Expense API API uses API key authentication; the documentation explains how to get credentials.

### Does the Codat Expense API API support HTTPS?

Yes, the Codat Expense API API is served over HTTPS.

### How many endpoints does the Codat Expense API API have?

Its OpenAPI description lists 13 endpoints in version prealpha. All of them are shown on this page.

### What are alternatives to the Codat Expense API API?

Other Finance APIs include Stripe, SEC EDGAR Data, Plaid, Fed Treasury, Razorpay IFSC.

## Similar finance APIs

- [Stripe](https://www.openparable.com/apis/stripe): Payment processing, subscriptions, and financial management
- [SEC EDGAR Data](https://www.openparable.com/apis/sec-edgar-data): API to access annual reports of public US companies
- [Plaid](https://www.openparable.com/apis/plaid): Connect with user's bank accounts and access transaction data
- [Fed Treasury](https://www.openparable.com/apis/fed-treasury): U.S. Department of the Treasury Data
- [Razorpay IFSC](https://www.openparable.com/apis/razorpay-ifsc): Indian Financial Systems Code (Bank Branch Codes)
- [Klarna](https://www.openparable.com/apis/klarna): Klarna payment and shopping service
- [Citi](https://www.openparable.com/apis/citi): All Citigroup account and statement data APIs
- [Zoho Books](https://www.openparable.com/apis/zoho-books): Online accounting software, built for your business
- [FRED](https://www.openparable.com/apis/fred): Economic data from the Federal Reserve Bank of St. Louis
- [Polygon](https://www.openparable.com/apis/polygon): Historical stock market data
- [MercadoPago](https://www.openparable.com/apis/mercadopago): Mercado Pago API reference - all the information you need to develop your integrations
- [Open Banking - Payments initiation service](https://www.openparable.com/apis/open-banking-payments-initiation-service): Open Banking - Payments initiation service

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/codat-expense (OpenParable). Cite the canonical URL above.
