# Dub API Documentation

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

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

## Dub actions

- POST `bulk-create-links` Bulk Create Links
- DELETE `bulk-delete-links` Bulk Delete Links
- PUT `bulk-update-links` Bulk Update Links
- GET `check-domain-availability` Check Domain Availability
- GET `count-links` Count Links
- POST `create-link` Create Link
- POST `create-tag` Create Tag
- DELETE `delete-link` Delete Link
- DELETE `delete-tag` Delete Tag
- GET `get-qr-code` Get QR Code
- GET `get-user-info` Get User Info
- GET `list-domains` List Domains
- GET `list-links` List Links
- GET `list-tags` List Tags
- GET `retrieve-link` Retrieve Link
- PUT `update-link` Update Link
- PUT `update-tag` Update Tag
- PUT `upsert-link` Upsert Link
