# OneDesk API Documentation

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

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

## OneDesk actions

- POST `create-customer` Create Customer
- POST `create-customer-organization` Create Customer Organization
- POST `create-project` Create Project
- GET `get-customer-by-external-id` Get Customer By External ID
- GET `get-customer-organization-by-external-id` Get Customer Organization By External ID
- GET `get-organization-lifecycle-status` Get Organization Lifecycle Status
- GET `get-organization-profile-and-policy` Get Organization Profile And Policy
- GET `get-project-by-external-id` Get Project By External ID
- GET `list-organization-container-types` List Organization Container Types
- GET `list-organization-item-types` List Organization Item Types
- GET `list-organization-user-types` List Organization User Types
- GET `search-customer-organizations` Search Customer Organizations
- GET `search-customer-organizations-with-details` Search Customer Organizations With Details
- GET `search-customers` Search Customers
- GET `search-customers-with-details` Search Customers With Details
- GET `search-projects` Search Projects
- GET `search-projects-with-details` Search Projects With Details
- PUT `update-customer-by-external-id` Update Customer By External ID
- PUT `update-customer-organization-by-external-id` Update Customer Organization By External ID
- PUT `update-project-by-external-id` Update Project By External ID
