> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ringee.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Ways to build on Ringee

> Choose the right integration surface for what you are building

Ringee exposes five ways to build on top of it. They are complementary—most real integrations use more than one.

> [card] [Public API](https://docs.ringee.io/api/overview.md)
>
> Server to server. Sync CRM records, open a secure dialer and run AI Voice
> Agents.

> [card] [Dialer SDK](https://docs.ringee.io/dialer-sdk/overview.md)
>
> Browser. Embed a real dialer inside your own web app.

> [card] [MCP](https://docs.ringee.io/mcp/overview.md)
>
> AI agents. Let Claude or ChatGPT read and act on Ringee data.

> [card] [CLI](https://docs.ringee.io/cli/overview.md)
>
> Terminal and scripts. The same capabilities as MCP, in a shell.

> [card] [AI Voice Agents](https://docs.ringee.io/voice-agents/overview.md)
>
> Autonomous calling. Hold a real conversation and return a structured result.

## Pick by what you are building

| I want to… | Use |
| - | - |
| Log Ringee calls as activities in my CRM | [Public API](https://docs.ringee.io/api/overview.md) |
| Push my contacts into Ringee so they are callable | [Public API — inbound events](https://docs.ringee.io/api/inbound-events.md) |
| Add a "Call" button with the least possible work | [Click-to-call](https://docs.ringee.io/api/click-to-call.md) |
| Keep agents inside my product while they call | [Dialer SDK](https://docs.ringee.io/dialer-sdk/overview.md) |
| Build a completely custom call interface | [Dialer SDK — headless](https://docs.ringee.io/dialer-sdk/headless.md) |
| Let an assistant find leads and book follow-ups | [MCP](https://docs.ringee.io/mcp/overview.md) |
| Script bulk operations or run them in CI | [CLI](https://docs.ringee.io/cli/overview.md) |
| Give an autonomous agent access to Ringee | [CLI from an agent](https://docs.ringee.io/cli/agents.md) |
| Have an AI agent call, converse and book a meeting | [AI Voice Agents](https://docs.ringee.io/voice-agents/overview.md) |
| Trigger an AI voice call from my application | [AI Voice Agents API](https://docs.ringee.io/voice-agents/api-reference.md) |

## Side by side

| | Public API | Dialer SDK | MCP | CLI | AI Voice Agents |
| - | - | - | - | - | - |
| Runs in | Your server | The browser | An AI client | A shell | Ringee's backend |
| Credential | `cik_live_` | `pk_live_` | MCP URL or OAuth | MCP URL | `cik_live_`, MCP URL or OAuth |
| Main purpose | CRM sync and webhooks | Human-operated calling UI | AI tool access | Scripts and shell agents | Autonomous phone conversations |
| Places calls | Human dialer and AI voice | Yes, over browser WebRTC | AI voice calls only | AI voice calls only | Yes, server-originated |
| Receives results | Signed webhooks | Live browser events | Read on demand | Read on demand | Status, outcome, summary and extracted data |

> [!NOTE]
>
> Human-operated calls still run over WebRTC in a browser or mobile app. AI
> Voice Agents are the deliberate exception: Ringee starts those calls
> server-side, the configured agent holds the conversation, and API, MCP or CLI
> can read the asynchronous result.

## A typical CRM integration

Most teams combine two surfaces:

```mermaid theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
flowchart LR;
    classDef crm fill:#86EFAC,color:black,stroke:#fff
    classDef svc fill:#15803D,color:white,stroke:#fff

    sync[Public API: sync contacts]:::svc
    call[Dialer SDK or click-to-call]:::svc
    hook[Public API: webhooks]:::svc
    crm[Your CRM]:::crm

    crm --> sync --> call --> hook --> crm
```

**1. Sync your records**

Send `contact.upserted` so Ringee knows who is callable, and keep `externalId`
stable so click-to-call and the Dialer SDK can resolve the same contact. For AI
Voice Agent webhook correlation, also send it as `metadata.external_id` when you
start the call. See [Inbound events](https://docs.ringee.io/api/inbound-events.md).

**2. Let agents call**

Embed the [Dialer SDK](https://docs.ringee.io/dialer-sdk/overview.md) for an in-product experience, or use [click-to-call](https://docs.ringee.io/api/click-to-call.md) if you want the fastest possible path.

**3. Receive the activity**

Subscribe to `call.completed`, `call.outcome.updated` and `recording.ready` and write them into your CRM. Signed, retried, idempotent. See [Outbound webhooks](https://docs.ringee.io/api/outbound-webhooks.md).

## Credentials at a glance

| Credential | Belongs to | Where it lives |
| - | - | - |
| `cik_live_…` | Public API and AI Voice Agents | Your server only |
| `whsec_…` | Webhook verification | Your server only |
| `pk_live_…` | Dialer SDK | Safe in the browser |
| MCP URL | MCP and CLI | A secret manager or shell profile |

Create `cik_live_…`, `whsec_…` and `pk_live_…` credentials from **Integrations → Custom Integrations**. The MCP URL comes from `GET /api/mcp/connection-info`.

> [!WARNING]
>
> `cik_live_` and `pk_live_` look similar and are minted by the same
> integration, but only `pk_live_` is browser-safe. Rotating the `cik_live_` key
> revokes every `pk_live_` key on that integration.

## Self-hosting

Every surface works against a self-hosted deployment. Replace `https://api.ringee.io` with your own backend URL:

| Surface | How |
| - | - |
| Public API | Use your `BACKEND_URL` as the base |
| Dialer SDK | Pass `apiUrl` (the API origin, without `/api`) |
| MCP | The URL from `GET /api/mcp/connection-info` already points at your host |
| CLI | Set `RINGEE_BACKEND_URL` or the full `RINGEE_MCP_URL` |
| AI Voice Agents | Set a public `PUBLIC_BACKEND_URL`, configure the voice provider and keep the Temporal worker running |

See the [Configuration reference](https://docs.ringee.io/configuration/reference.md) and [AI Voice Agents self-hosting](https://docs.ringee.io/voice-agents/self-hosting.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.