# FreeAgent API Documentation

This is the complete API documentation for connecting to the FreeAgent API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **FreeAgent connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/freeAgent/actions/{actionSlug}/run
```

## FreeAgent actions

- POST `create-bill` Create Bill
- POST `create-contact` Create Contact
- POST `create-estimate` Create Estimate
- POST `create-expense` Create Expense
- POST `create-invoice` Create Invoice
- POST `create-project` Create Project
- GET `get-bill` Get Bill
- GET `get-contact` Get Contact
- GET `get-estimate` Get Estimate
- GET `get-expense` Get Expense
- GET `get-invoice` Get Invoice
- GET `get-project` Get Project
- GET `list-bills` List Bills
- GET `list-contacts` List Contacts
- GET `list-estimates` List Estimates
- GET `list-expenses` List Expenses
- GET `list-invoices` List Invoices
- GET `list-projects` List Projects
- PUT `update-bill` Update Bill
- PUT `update-contact` Update Contact
- PUT `update-estimate` Update Estimate
- PUT `update-expense` Update Expense
- PUT `update-invoice` Update Invoice
- PUT `update-project` Update Project
