Last updated: July 22, 2026 · API version: v2 · Tested against:
openapi.yaml 2.0.0 · 8 min readUnpod exposes a full REST API so you can build, automate, and integrate AI voice agents into any system - CRMs, helpdesks, internal tools, or custom workflows. This guide walks you through everything from getting your API key to making your first outbound call.
Prerequisites
- An Unpod account at unpod.ai
- At least one configured AI agent
- A telephony bridge with a phone number assigned
- Your API key (from AI Studio → API Keys)
Step 1: Authenticate
All Unpod API requests use Token authentication. Add your API key to every request header. Many endpoints also require theOrg-Handle header (your organization domain handle).
Step 2: Get Your Space Token
Spaces are the core organizational unit in Unpod. Most API calls are scoped to a space.token value - you’ll use it to scope task and run lookups.
Step 3: List Your Agents
Fetch all agents configured in your organization:handle field of the agent (pilot) you want to use for calls.
Step 4: Create a Task (Outbound Call)
A Task triggers an outbound voice call from your AI agent to one or more contacts. Tasks are created inside a space; the request body takes the agentpilot handle and a documents array of contacts.
run_id and task_ids. The agent will call the number within seconds.
Step 5: Track the Run
Once a task is created, Unpod creates a Run - the actual call execution. Poll runs in the space to track status:Step 6: Fetch Call Logs
After a call completes, retrieve call detail records (CDR) - including transcript, recording, and post-call analysis:Passing Context to Your Agent
Use the per-contactcontext field (inside each documents item) or the task-level context to pass call-specific information. Your agent’s system prompt can reference this data via template variables - useful for personalizing conversations:
Rate Limits
What’s Next
API Reference
Full endpoint reference with request/response schemas.
Authentication Guide
API key management and security best practices.
Agents API
List, inspect, and manage agents programmatically.
Runs & Executions
Track call execution status and outcomes.