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

# Unpod Docs

> Telephony and voice agents: the backend for conversational apps.

Numbers, calls and audio streaming, and voice agents that run on them. Each part
works on its own, so start with the one you need.

## Telephony

> [card] [Numbers & SIP](https://docs.unpod.ai/telephony/quickstart.md)
>
> Get a number, or connect your carrier or voice platform over SIP.

> [card] [Calls](https://docs.unpod.ai/telephony/apis/quickstart.md)
>
> Place, receive, bridge and record calls from your code.

> [card] [Audio Streaming](https://docs.unpod.ai/telephony/apis/audio-streaming.md)
>
> Stream call audio to your own agent, such as a Pipecat bot.

## Voice agents

> [card] [Agent SDK](https://docs.unpod.ai/agent-sdk/agent-quickstart.md)
>
> Run agents from code. Unpod handles the speech.

> [card] [Agent Studio](https://docs.unpod.ai/agent-studio/quickstart.md)
>
> Write and test voice and chat agents, then put one on a number.

> [card] [Intelligence](https://docs.unpod.ai/intelligence/blocks.md)
>
> Outcomes, extraction and memory from every call.

## Make your first call

**1. Get your keys**

Create an API key and copy your org handle ([Account & keys](https://docs.unpod.ai/home/account-and-keys.md)),
then export them:

```bash theme={null}
export UNPOD_BASE_URL=https://unpod.dev
export UNPOD_PLATFORM_TOKEN=<your-api-key>
export UNPOD_ORG_HANDLE=<your-org-handle>
```

**2. Install the SDK**

Python 3.12 or later.

```bash theme={null}
pip install "unpod>=0.7.0"
```

**3. Call a phone**

`FROM` is a number on your org ([Get a number](https://docs.unpod.ai/telephony/apis/numbers.md)). `TO` is a phone
you can answer. Both in E.164.

```python Python theme={null}
from unpod import Client

FROM = "+919000000001"  # your Unpod number
TO = "+919000000002"    # who to call

with Client() as client:
    call = client.telephony.calls.create(FROM, TO, ring_timeout=30)
    print(call.call_id, call.state)
```

```bash cURL theme={null}
curl -s -X POST "https://unpod.dev/api/v2/platform/sbc/v1/calls" \
  -H "Authorization: Token $UNPOD_PLATFORM_TOKEN" -H "Org-Handle: $UNPOD_ORG_HANDLE" \
  -H "Idempotency-Key: $(uuidgen)" -H "Content-Type: application/json" \
  -d '{"from": "+919000000001", "to": "+919000000002", "ring_timeout": 30}'
```

> [!NOTE]
>
> The Call API is in preview. Ask the Unpod team to switch it on for your org; until then
> calls return `403 call_api_disabled`.

Next: the [Telephony quick start](https://docs.unpod.ai/telephony/apis/quickstart.md) speaks on the call and
receives one. Not writing code? Use the [Conversational Platform](https://docs.unpod.ai/platform/introduction.md).

## Sample code

Runnable code for this page in [unpod-ai/sample-apps](https://github.com/unpod-ai/sample-apps):

* [`telephony/outbound_call.py`](https://github.com/unpod-ai/sample-apps/blob/main/telephony/outbound_call.py): list your numbers, place a call and speak when it is answered.
* [`sbc/quickstart/step4_call_and_speak.py`](https://github.com/unpod-ai/sample-apps/blob/feat/sbc-call-tests/sbc/quickstart/step4_call_and_speak.py): the same first call as a step check that prints PASS or FAIL.


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