Prerequisites
- A Sarj.ai account
- An API key — see Step 1 below
- Python:
pip install sarj-platform-sdk(recommended over rawrequests)
If you’re using the MCP Server instead of the REST API, skip Step 1 — MCP clients receive an API key automatically via OAuth on first connect.
1
Get your API key
- Sign in at platform.sarj.ai
- Click Generate Key
- Copy the key and store it securely
2
Verify your setup
Confirm the API is reachable with a quick health check.Expected response:
3
Create your first call
Trigger an outbound voice call. Requires your API key and a scenario ID.Expected response (
202 Accepted):4
Track the call
Calls progress
queued → in_progress → completed. Poll GET /api/v1/calls/{call_id} for recording_url and transcript, or configure webhooks for push updates.Response format
All endpoints use a standard response envelope. Success:error.type — the message field is for humans only.

