# Farmbrite API Documentation

This is the complete API documentation for connecting to the Farmbrite 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 **Farmbrite connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

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

## Farmbrite actions

- POST `create-animal` Create animal
- POST `create-contact` Create contact
- POST `create-order` Create order
- POST `create-plot` Create plot
- POST `create-product` Create product
- POST `create-task` Create task
- POST `create-tool` Create tool
- POST `create-transaction` Create transaction
- DELETE `delete-animal` Delete animal
- DELETE `delete-contact` Delete contact
- DELETE `delete-order` Delete order
- DELETE `delete-plot` Delete plot
- DELETE `delete-product` Delete product
- DELETE `delete-task` Delete task
- DELETE `delete-tool` Delete tool
- DELETE `delete-transaction` Delete transaction
- GET `list-animals` List animals
- GET `list-contacts` List contacts
- GET `list-orders` List orders
- GET `list-plots` List plots
- GET `list-products` List products
- GET `list-tasks` List tasks
- GET `list-tools` List tools
- GET `list-transactions` List transactions
- GET `retrieve-animal` Retrieve animal
- GET `retrieve-contact` Retrieve contact
- GET `retrieve-order` Retrieve order
- GET `retrieve-plot` Retrieve plot
- GET `retrieve-product` Retrieve product
- GET `retrieve-task` Retrieve task
- GET `retrieve-tool` Retrieve tool
- GET `retrieve-transaction` Retrieve transaction
- PUT `update-animal` Update animal
- PUT `update-contact` Update contact
- PUT `update-plot` Update plot
- PUT `update-product` Update product
- PUT `update-task` Update task
- PUT `update-tool` Update tool
- PUT `update-transaction` Update transaction
