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, so 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.
+15555550100 is the test line (any +1 555 number works). Nothing is dialled or billed. The call comes back completed with test: true and a short transcript; a text comes back delivered and the line texts back once. Put a real number in to_number to call someone.

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.

5. Give the voice a memory

Save the answers callers ask for most. The hosted voice then answers them itself, without a lookup and without guessing. Nothing needs switching on.
See Knowledge Store.
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.