> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rasen.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rasen.ai/_mcp/server.

# Welcome to Rasen Developer API

> Find the guide for each task of the Rasen Developer API, from the first request to call results and webhooks.

The Rasen Developer API gives a backend one workspace-scoped interface for the agent lifecycle:
create and configure an agent, connect tools and phone routing, start calls, and read the evidence
that each call produces.

### Build

Create an agent, edit its draft, choose a voice, add variables and tools, validate it, and
publish an immutable version.

### Launch

Route an existing workspace number, start a call with a published agent, and end it when your
workflow requires.

### Refine

Read call state, transcripts, recordings, extraction, summaries, tool outcomes, and usage.

## Summary

This page maps the tasks of the API to their guides. It does not give request shapes; see the
[API Reference](/api-reference).

## Start with the path you need

| Goal                       | Start here                                                  | Result                                                                                     |
| -------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| Make the first request     | [Quickstart](/get-started/quickstart)                       | Verify a key and create an agent with a retry-safe request.                                |
| Start a campaign           | [Campaigns](/guides/campaigns)                              | Create recipients, plan, admit and start outbound calls.                                   |
| Build with an AI assistant | [Build with AI assistants](/get-started/ai-tools)           | Ask the docs a question, or connect Claude Code, Cursor or VS Code to the Docs MCP server. |
| Find an endpoint           | [API Reference](/api-reference/context/get)                 | Inspect its request, response, errors, and code samples.                                   |
| Prepare production code    | [Integration checklist](/get-started/integration-checklist) | Check credentials, retries, paging, revisions, and support data.                           |

## Build

| Capability                                            | What you can do                                                                                   |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [Agent lifecycle](/guides/agents)                     | Create agents, edit drafts and variables, validate, publish, compare versions, and roll back.     |
| Voices                                                | List the voices a new agent starts with, or the voices an existing agent can select in its draft. |
| [Tools and MCP servers](/guides/tools)                | Add webhook tools, register MCP servers, discover tools, and attach them to a draft.              |
| [Tool credentials](/guides/secrets)                   | Store write-only credentials, rotate versions, inspect references, and revoke a version.          |
| [Knowledge](/guides/knowledge)                        | Add sources to the agent library and freeze ready content when you publish.                       |
| [Archive and restore an agent](/guides/archive-agent) | Archive an unused agent, and restore it within 14 days.                                           |
| [Hosted test-call links](/guides/share-links)         | Enable, disable and rotate a bounded test-call link.                                              |

## Launch

| Capability                                         | What you can do                                                                         |
| -------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [Phone routing](/guides/phone-numbers)             | Assign a published agent to an existing workspace number for inbound or outbound calls. |
| [Calls](/guides/calls)                             | Start and end calls and use your own metadata to find them again.                       |
| [Campaigns](/guides/campaigns)                     | Create, upload, plan, admit, start, pause, resume, retry and cancel campaigns.          |
| [Telephony connections](/guides/telephony)         | Manage carrier connections and import existing numbers.                                 |
| [Connect a SIP trunk](/guides/sip-trunk)           | Manage SIP connections and trunks, import existing numbers and follow setup operations. |
| [Configure call transfers](/guides/call-transfers) | Publish named transfer destinations and confirm the carrier's required setup.           |

Connect a supported carrier, import an existing number, then assign a published agent to it.
Carrier number purchase and release stay with the provider.

## Refine

| Capability                                                 | What you can do                                                                                                              |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| [Call results](/guides/calls#results)                      | Read transcripts, recordings, extraction, summaries, and tool outcomes; export campaign results and transcripts by batch ID. |
| [Follow a call's transcript live](/guides/live-transcript) | Show each transcript line of a call while it runs.                                                                           |
| [Receive call events with webhooks](/guides/webhooks)      | Get a signed request on your endpoint when a call completes, fails or is analyzed.                                           |
| [Usage](/guides/usage)                                     | Read usage by agent or call without deriving billing truth from raw events.                                                  |
| Change feeds                                               | Page through bounded call and usage changes and keep a local copy in sync.                                                   |

See [API availability](/get-started/api-availability) for each operation family and its requirements.

## One stable public base

Every operation uses the configured dedicated API host under `/v1`. Set `RASEN_API_BASE` to
this base URL in your integration:

```bash
export RASEN_API_BASE="https://api.rasen.ai/v1"
```

Requests use a workspace API key as a bearer token. The key cannot select another workspace, and
there is no workspace-selector header. Continue with [Authentication](/get-started/authentication)
or make the first request in the [Quickstart](/get-started/quickstart).

## Related

* [Quickstart](/get-started/quickstart)
* [API availability](/get-started/api-availability)
* [Changelog](/changelog)