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

# Kupe App → Kupe Hub

> Move from api.kupe.in / app.kupe.in to x.kupe.in and hub.kupe.in. Same company, new platform.

Migration

# Kupe App is now Kupe Hub

REST moves to `https://x.kupe.in`. Console moves to
`https://hub.kupe.in`. Auth is Bearer `sk-kupe-...`.

> [!WARNING]
>
> **From 15 September 2026**, `app.kupe.in` becomes part of **Kupe Hub** at [`hub.kupe.in`](https://hub.kupe.in). Finish rewriting clients before then — App keys and UUIDs do not work on Hub.

> [!NOTE]
>
> **`hub.kupe.in` is the console**, not the REST host. APIs and WebSockets live on **`x.kupe.in`**.

## At a glance

| | Kupe App | Kupe Hub |
| - | - | - |
| REST | `https://api.kupe.in` | `https://x.kupe.in` |
| Console | `https://app.kupe.in` | [`https://hub.kupe.in`](https://hub.kupe.in) |
| Auth | `x-api-key: …` | `Authorization: Bearer sk-kupe-…` |
| Agent body | Nested `agent` + configs | Flat `name`, `system_prompt`, `greeting`, `config.*` |
| IDs | UUIDs | Prefixed (`agt_`, `org_`, `prj_`, `tel_`, …) |
| Outbound | `POST /api/call/create_call` | One-contact [batch](https://docs.kupe.in/guides/campaigns.md) |
| Inbound | `POST /api/v1/phone/mapping` | [Inbound deployment](https://docs.kupe.in/guides/inbound.md) |
| SDK / MCP | None first-party | [`kupe`](https://docs.kupe.in/sdk/python) · [`kupe-sdk`](https://docs.kupe.in/sdk/typescript) · [MCP](https://docs.kupe.in/kupe-mcp.md) |

## Headers (diff)

```diff theme={"theme":{"light":"github-light","dark":"github-dark"}}
- GET https://api.kupe.in/api/v1/agents
- x-api-key: YOUR_APP_KEY
+ GET https://x.kupe.in/v1/me
+ Authorization: Bearer sk-kupe-YOUR_KEY
```

## Auth response (diff)

```diff theme={"theme":{"light":"github-light","dark":"github-dark"}}
- // App: profile / consent blob
- { "id": "<uuid>", "email": "...", ... }
+ // Hub: scope for every later call
+ { "auth": "api_key", "org_id": "org_...", "project_id": "prj_...", "user_id": null }
```

## Rewrite order

1. Create a Hub account + project API key — [Authentication](https://docs.kupe.in/auth.md).
2. Point the base URL at `https://x.kupe.in` (SDKs join `/v1`).
3. Recreate the agent — [Agents](https://docs.kupe.in/migrate/agents.md), [Prompting](https://docs.kupe.in/guides/prompting.md).
4. Attach numbers + KYC / inbound — [Phones](https://docs.kupe.in/migrate/phones.md), [Inbound](https://docs.kupe.in/migrate/inbound.md).
5. Replace `create_call` with a campaign / batch — [Campaigns](https://docs.kupe.in/migrate/campaigns.md).
6. Move tools to org tools — [Tools](https://docs.kupe.in/migrate/tools.md).
7. Point browsers at [Realtime](https://docs.kupe.in/realtime.md), not App media sockets.

## Prefer the SDK

Kupe App had no first-party SDK. On Hub, use **Python first** (`pip install kupe`), or **npm** (`kupe-sdk`) if you are on TypeScript. Both talk to `https://x.kupe.in` with `KUPE_API_KEY` / `sk-kupe-...`. Full guides: [Python](https://docs.kupe.in/sdk/python.md) · [TypeScript](https://docs.kupe.in/sdk/typescript.md).

```bash Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
pip install kupe
```

```bash npm theme={"theme":{"light":"github-light","dark":"github-dark"}}
npm install kupe-sdk
```

```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
from kupe import Kupe

client = Kupe()  # KUPE_API_KEY=sk-kupe-...
me = client.me()
# me.org_id, me.project_id — use these on every rewrite
```

```typescript TypeScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
import { Kupe } from "kupe-sdk";

const kupe = new Kupe(); // KUPE_API_KEY or constructor key
const me = await kupe.me();
```

IDE agents can use [Kupe MCP](https://docs.kupe.in/kupe-mcp.md) (`http://mcp.kupe.in/mcp`) with the same key instead of hand-writing cURL.

> [card] [Hosts and auth](https://docs.kupe.in/migrate/hosts-auth.md)
>
> Hosts, headers, `GET /v1/me`.

> [card] [Agents](https://docs.kupe.in/migrate/agents.md)
>
> Nested App body → flat Hub `AgentBody`.

> [card] [Realtime and PSTN](https://docs.kupe.in/migrate/realtime.md)
>
> `create_call` → sessions and batches.

> [card] [Phones, KYC, UCC](https://docs.kupe.in/migrate/phones.md)
>
> Telephony accounts, India KYC, UCC.

> [card] [Full path catalog](https://docs.kupe.in/migrate/paths-agents.md)
>
> Every App path → Hub replacement.

> [card] [No 1:1](https://docs.kupe.in/migrate/paths-no-equivalent.md)
>
> Workflows, WhatsApp, n8n, admin retirements.


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