# Salesflare API Documentation

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

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

## Salesflare actions

- POST `create-account` Create Account
- POST `create-contact` Create Contact
- POST `create-opportunity` Create Opportunity
- POST `create-task` Create Task
- DELETE `delete-account` Delete Account
- DELETE `delete-contact` Delete Contact
- DELETE `delete-opportunity` Delete Opportunity
- DELETE `delete-task` Delete Task
- GET `get-account` Get Account
- GET `get-contact` Get Contact
- GET `get-current-user` Get Current User
- GET `get-opportunity` Get Opportunity
- GET `get-stage` Get Stage
- GET `get-user` Get User
- GET `list-accounts` List Accounts
- GET `list-contacts` List Contacts
- GET `list-opportunities` List Opportunities
- GET `list-pipelines` List Pipelines
- GET `list-stages` List Stages
- GET `list-tasks` List Tasks
- GET `list-users` List Users
- PUT `update-account` Update Account
- PUT `update-contact` Update Contact
- PUT `update-opportunity` Update Opportunity
- PUT `update-task` Update Task
