# Emailchef API Documentation

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

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

## Emailchef actions

- POST `clone-campaign` Clone Campaign
- POST `create-campaign` Create Campaign
- POST `create-contact` Create Contact
- POST `create-list` Create List
- POST `create-segment` Create Segment
- DELETE `delete-campaign` Delete Campaign
- DELETE `delete-list` Delete List
- GET `get-campaign` Get Campaign
- GET `get-contact` Get Contact
- GET `get-list` Get List
- GET `get-list-stats` Get List Stats
- GET `get-segment` Get Segment
- POST `import-contacts` Import Contacts
- GET `list-campaigns` List Campaigns
- GET `list-contacts` List Contacts
- GET `list-lists` List Lists
- GET `list-segments` List Segments
- PUT `schedule-campaign` Schedule Campaign
- PUT `send-campaign` Send Campaign
- PUT `send-test-campaign` Send Test Campaign
- PUT `unsubscribe-contact-from-list` Unsubscribe Contact From List
- PUT `update-campaign` Update Campaign
- PUT `update-contact` Update Contact
- PUT `update-list` Update List
- PUT `update-segment` Update Segment
