Skip to main content
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.
Working through an AI agent (Claude Code, Cursor, Codex, or your own)? You usually don’t need to hand-write these HTTP calls. The hosted Bland MCP server exposes the same operations as tools, with nothing to install. The REST calls below are what those tools run underneath.

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

  1. Sign in to the Bland dashboard.
  2. Open Settings and copy your API key.
  3. Store it as an environment variable so you don’t commit it to source:

How to send the key

Every Bland request authenticates with that key in the Authorization header.
Building an autonomous agent with no dashboard session to sign into? It can get its own key without a human ever pasting one in. See the Agent onboarding API.

Step 2: Send a call

Use the POST /v1/calls endpoint to dispatch a call. The task field describes what the AI agent should do on the call.
A successful response returns a call_id you can use to track the call:

Step 3: Check the call status

Use the call_id to fetch call details, including the transcript and recording URL once the call completes.
You can also watch calls in real time on the Call Logs page.

Common parameters

See the Send Call API reference for the full list.

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.

Connect your AI coding agent

Give Claude Code, Cursor, or Codex your Bland account via MCP.

Agent quickstart

Place a call, learn how it ended, and read the transcript, from an autonomous agent.