# Pastebin API Documentation

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

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

## Pastebin actions

- POST `create-guest-paste` Create Guest Paste
- POST `create-member-paste` Create Member Paste
- POST `create-paste-in-folder` Create Paste In Folder
- POST `create-private-paste` Create Private Paste
- DELETE `delete-my-paste` Delete My Paste
- POST `generate-user-session-key` Generate User Session Key
- GET `get-current-user-details` Get Current User Details
- GET `get-my-paste-raw-content` Get My Paste Raw Content
- GET `get-raw-public-or-unlisted-paste` Get Raw Public Or Unlisted Paste
- GET `get-scraped-paste-metadata` Get Scraped Paste Metadata
- GET `get-scraped-paste-raw-data` Get Scraped Paste Raw Data
- GET `list-my-pastes` List My Pastes
- GET `list-recent-public-pastes` List Recent Public Pastes
