# Zahara API Documentation

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

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

## Zahara actions

- POST `create-invoice` Create Invoice
- POST `create-project` Create Project
- POST `create-purchase-order` Create Purchase Order
- POST `create-supplier` Create Supplier
- GET `get-invoice-by-id` Get Invoice By ID
- GET `get-project-by-id` Get Project By ID
- GET `get-purchase-order-by-id` Get Purchase Order By ID
- GET `get-supplier-by-id` Get Supplier By ID
- GET `list-business-units` List Business Units
- GET `list-currencies` List Currencies
- GET `list-invoices-after-date` List Invoices After Date
- GET `list-projects` List Projects
- GET `list-purchase-orders` List Purchase Orders
- GET `list-purchase-orders-after-date` List Purchase Orders After Date
- GET `list-suppliers-after-date` List Suppliers After Date
- GET `list-users-business-unit` List Users (Business Unit)
- GET `list-users-tenancy` List Users (Tenancy)
- GET `list-workflows` List Workflows
- GET `search-suppliers` Search Suppliers
- PUT `update-invoice` Update Invoice
- PUT `update-project` Update Project
- PUT `update-purchase-order` Update Purchase Order
- PUT `update-supplier` Update Supplier
- PUT `upload-invoice-pdf` Upload Invoice PDF
