# Rebrandly API Documentation

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

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

## Rebrandly actions

- PUT `attach-tag-to-link` Attach Tag To Link
- GET `count-domains` Count Domains
- GET `count-links` Count Links
- GET `count-tags` Count Tags
- POST `create-link` Create Link
- POST `create-preset` Create Preset
- POST `create-query-parameter` Create Query Parameter
- POST `create-tag` Create Tag
- DELETE `delete-link` Delete Link
- DELETE `delete-preset` Delete Preset
- DELETE `delete-query-parameter` Delete Query Parameter
- DELETE `delete-tag` Delete Tag
- PUT `detach-tag-from-link` Detach Tag From Link
- GET `get-account-details` Get Account Details
- GET `get-domain-details` Get Domain Details
- GET `get-link-details` Get Link Details
- GET `get-link-open-graph` Get Link OpenGraph
- GET `get-tag-details` Get Tag Details
- GET `list-domains` List Domains
- GET `list-links` List Links
- GET `list-presets` List Presets
- GET `list-query-parameters` List Query Parameters
- GET `list-scripts` List Scripts
- GET `list-tags` List Tags
- GET `list-templates` List Templates
- GET `list-traffic-rules` List Traffic Rules
- PUT `populate-preset` Populate Preset
- PUT `update-link` Update Link
- PUT `update-query-parameter` Update Query Parameter
- PUT `update-tag` Update Tag
