# Laposta API Documentation

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

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

## Laposta actions

- POST `create-field` Create Field
- POST `create-list` Create List
- POST `create-subscriber` Create Subscriber
- DELETE `delete-field` Delete Field
- DELETE `delete-list` Delete List
- DELETE `delete-subscriber` Delete Subscriber
- GET `get-field` Get Field
- GET `get-list` Get List
- GET `get-subscriber` Get Subscriber
- GET `list-fields` List Fields
- GET `list-lists` List Lists
- GET `list-segments` List Segments
- GET `list-subscribers` List Subscribers
- PUT `update-field` Update Field
- PUT `update-list` Update List
- PUT `update-subscriber` Update Subscriber
