# PhantomBuster API Documentation

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

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

## PhantomBuster actions

- GET `compare-branches` Compare Branches
- DELETE `delete-agent` Delete Agent
- GET `get-agent` Get Agent
- GET `get-agent-output` Get Agent Output
- GET `get-container` Get Container
- GET `get-container-output` Get Container Output
- GET `get-ip-location` Get IP Location
- GET `get-organization` Get Organization
- GET `get-organization-agent-groups` Get Organization Agent Groups
- GET `get-organization-crm-access` Get Organization CRM Access
- GET `get-organization-crm-resources` Get Organization CRM Resources
- GET `get-organization-resources` Get Organization Resources
- GET `get-script` Get Script
- GET `get-script-code` Get Script Code
- POST `launch-agent` Launch Agent
- GET `list-agents` List Agents
- GET `list-branches` List Branches
- GET `list-containers` List Containers
- GET `list-deleted-agents` List Deleted Agents
- GET `list-running-containers` List Running Containers
- GET `list-scripts` List Scripts
- PUT `save-agent` Save Agent
- POST `schedule-agent-launch` Schedule Agent Launch
- PUT `stop-agent` Stop Agent
