Skip to main content

Quickstart

1. Get an API key

AgentLine uses email one-time codes for sign-up and sign-in (no dashboard required).
The verify response returns api_key (shown once — store it). New accounts start with a $0 balance. Your first US or Canada number is free and starts a 7-day trial with 10 call minutes and 10 SMS. Recharge or pick a plan to keep the trial number; use an included subscription number or add credit before buying an additional number ($3.00/month).

2. Call the API

Python is published as agentline-ai. The Node package is not on npm yet, so the JavaScript example uses fetch.

3. Install live event delivery

If the agent has terminal access, download and install the persistent relay:
The installer detects Hermes, OpenClaw, Claude Code, or Codex, preserves one runtime session per phone call, reconnects automatically, and installs a user service. Runtime package/service installation may require one safety approval. Use a webhook if the agent cannot run a persistent process.

4. Get the results

Use the relay for live turns and durable event delivery. Poll the mailbox only as a fallback, or receive non-live events via webhook.
All phone numbers are E.164 format, e.g. +12125557890. Numbers are US or Canada. Plan-included numbers use the allowance first; additional numbers cost $3.00/month each. Each agent can have one active number at a time.
Next: read Authentication and the Agents guide.