This quickstart walks you through sending your first AI phone call with the Bland API. By the end, you’ll have placed a live call from a script.Documentation Index
Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A Bland account
- Your API key from the dashboard
- A phone number to call (include the country code, e.g.
+15551234567)
Step 1: Get your API key
- Sign in to the Bland dashboard.
- Open Settings and copy your API key.
- Store it as an environment variable so you don’t commit it to source:
Step 2: Send a call
Use thePOST /v1/calls endpoint to dispatch a call. The task field describes what the AI agent should do on the call.
call_id you can use to track the call:
Step 3: Check the call status
Use thecall_id to fetch call details, including the transcript and recording URL once the call completes.
Common parameters
| Parameter | Description |
|---|---|
phone_number | The number to call, in E.164 format (e.g. +15551234567). |
task | Plain-language instructions for the agent. |
voice | Voice persona for the agent. Browse options in the dashboard. |
first_sentence | The first line the agent speaks. |
wait_for_greeting | If true, the agent waits for the recipient to speak first. |
max_duration | Maximum call length in minutes. |
record | Set to true to record the call. |
webhook | URL to receive a post-call payload with transcript and metadata. |
Next steps
Send 1,000 calls at once
Batch dispatch calls from a CSV or list.
Build a conversational pathway
Design branching conversations with structured logic.
Set up post-call webhooks
Receive transcripts and analysis after each call.
Create an agent persona
Define reusable agent personalities across calls.