# Close API Documentation

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

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

## Close actions

- POST `create-contact` Create Contact
- POST `create-lead` Create Lead
- POST `create-opportunity` Create Opportunity
- POST `create-smart-view` Create Smart View
- POST `create-task` Create Task
- DELETE `delete-contact` Delete Contact
- DELETE `delete-lead` Delete Lead
- DELETE `delete-opportunity` Delete Opportunity
- DELETE `delete-smart-view` Delete Smart View
- DELETE `delete-task` Delete Task
- GET `get-contact` Get Contact
- GET `get-current-user` Get Current User
- GET `get-email-template` Get Email Template
- GET `get-lead` Get Lead
- GET `get-opportunity` Get Opportunity
- GET `get-smart-view` Get Smart View
- GET `get-sms-template` Get SMS Template
- GET `get-task` Get Task
- GET `get-user` Get User
- GET `get-webhook` Get Webhook
- GET `list-activities` List Activities
- GET `list-contacts` List Contacts
- GET `list-email-templates` List Email Templates
- GET `list-lead-statuses` List Lead Statuses
- GET `list-leads` List Leads
- GET `list-opportunities` List Opportunities
- GET `list-opportunity-statuses` List Opportunity Statuses
- GET `list-pipelines` List Pipelines
- GET `list-sequences` List Sequences
- GET `list-smart-views` List Smart Views
- GET `list-sms-templates` List SMS Templates
- GET `list-tasks` List Tasks
- GET `list-user-availabilities` List User Availabilities
- GET `list-users` List Users
- GET `list-webhooks` List Webhooks
- POST `merge-leads` Merge Leads
- PUT `update-contact` Update Contact
- PUT `update-lead` Update Lead
- PUT `update-opportunity` Update Opportunity
- PUT `update-smart-view` Update Smart View
- PUT `update-task` Update Task
