Overview
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
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Finance
- Base URL
https://api.codat.io- Version
- prealpha
- Endpoints
- 13
- OpenAPI
- Specification ↗
- Spec updated
- 2023-04-18
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.codat.io/companies/COMPANYID/sync/expenses/config" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.codat.io/companies/COMPANYID/sync/expenses/config", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.codat.io/companies/COMPANYID/sync/expenses/config",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| 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
Compare alternatives →Stripe
FinancePayment processing, subscriptions, and financial management
SEC EDGAR Data
FinanceAPI to access annual reports of public US companies
Plaid
FinanceConnect with user's bank accounts and access transaction data
Fed Treasury
FinanceU.S. Department of the Treasury Data
Razorpay IFSC
FinanceIndian Financial Systems Code (Bank Branch Codes)
Klarna
FinanceKlarna payment and shopping service
Listed from APIs.guru (CC0).