# Moxie API Documentation

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

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

## Moxie actions

- POST `apply-payment-to-invoice` Apply Payment to Invoice
- POST `create-client` Create Client
- POST `create-comment-on-ticket` Create Comment on Ticket
- POST `create-contact` Create Contact
- POST `create-expense` Create Expense
- POST `create-form-submission` Create Form Submission
- POST `create-invoice` Create Invoice
- POST `create-opportunity` Create Opportunity
- POST `create-project` Create Project
- POST `create-task` Create Task
- POST `create-ticket` Create Ticket
- POST `create-time-entry` Create Time Entry
- GET `list-clients` List Clients
- GET `list-email-templates` List Email Templates
- GET `list-form-names` List Form Names
- GET `list-invoice-templates` List Invoice Templates
- GET `list-pipeline-stages` List Pipeline Stages
- GET `list-project-task-stages` List Project Task Stages
- GET `list-vendor-names` List Vendor Names
- GET `list-workspace-users` List Workspace Users
- GET `search-clients` Search Clients
- GET `search-contacts` Search Contacts
- GET `search-payable-invoices` Search Payable Invoices
- GET `search-projects` Search Projects
