# Nutshell API Documentation

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

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

## Nutshell actions

- POST `create-company` Create Company
- POST `create-contact` Create Contact
- POST `create-lead` Create Lead
- POST `create-note` Create Note
- POST `create-task` Create Task
- GET `get-company` Get Company
- GET `get-contact` Get Contact
- GET `get-lead` Get Lead
- GET `get-task` Get Task
- GET `list-activities` List Activities
- GET `list-companies` List Companies
- GET `list-contacts` List Contacts
- GET `list-lead-stages` List Lead Stages
- GET `list-leads` List Leads
- GET `list-notes` List Notes
- GET `list-tasks` List Tasks
- GET `list-users` List Users
- PUT `reopen-lead` Reopen Lead
- PUT `set-lead-pipeline` Set Lead Pipeline
- PUT `update-company` Update Company
- PUT `update-contact` Update Contact
- PUT `update-lead` Update Lead
- PUT `update-lead-status` Update Lead Status
- PUT `update-task` Update Task
