Building a voice agent in Python? You likely want the
Speech Stack instead - the
unpod SDK wraps
provisioning and live-call handling. The REST API is for direct integrations
and non-Python stacks.Base URL
Authentication
Every request carries an API token in theAuthorization header using the
Token scheme:
Rate limiting
Responses include rate-limit headers; exceeding your limit returns429 Too Many Requests:
| Header | Meaning |
|---|---|
X-RateLimit-Limit | Max requests in the current window |
X-RateLimit-Remaining | Requests left in the window |
X-RateLimit-Reset | Unix timestamp when the window resets |
Retry-After | Seconds to wait (only on 429) |
Retry-After. Cache reads and
batch writes where you can. Current limits depend on your plan - check the
dashboard.
Errors
The API uses standard HTTP status codes. Error bodies are JSON with a machine-readable code and a human-readable message:401 - token missing, expired, or access denied (see
Authentication); 404 - resource not
found or outside your space; 429 - rate limited.
Start here
API Quickstart
First authenticated requests against bridges, call logs, and providers.
Authentication
Tokens, space scoping, and auth errors in detail.