# Phonely API Documentation

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

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

## Phonely actions

- POST `add-agent-documents` Add Agent Documents
- POST `add-agent-websites` Add Agent Websites
- POST `add-block-list-numbers` Add Block List Numbers
- DELETE `delete-agent-documents` Delete Agent Documents
- DELETE `delete-agent-websites` Delete Agent Websites
- DELETE `delete-block-list-numbers` Delete Block List Numbers
- POST `duplicate-agent` Duplicate Agent
- GET `get-agent` Get Agent
- GET `get-call` Get Call
- GET `get-usage` Get Usage
- GET `list-agent-documents` List Agent Documents
- GET `list-agent-websites` List Agent Websites
- GET `list-agents` List Agents
- GET `list-block-list` List Block List
- GET `list-calls` List Calls
- GET `list-organizations` List Organizations
- GET `list-voices` List Voices
- PUT `set-post-call-outcome` Set Post-Call Outcome
- PUT `update-agent` Update Agent
