Phone Numbers
Each agent can have one active phone number. Numbers are US or Canada and use your included number allowance first; additional numbers cost $3.00/month each, deducted from your wallet.Free trial
An account that has never recharged or picked a plan gets its first local US or Canada number free. That buy returns the number withcost 0, trial
true and trial_ends_at, and starts a 7-day trial with 10 call minutes and
10 SMS. Recharge or
pick a plan before the trial ends and the number stays on your account.
Otherwise it is detached from your account when the trial ends, and calls and
texts on it stop for you. GET /v1/billing/balance returns the trial’s
status, ends_at, call_seconds_remaining and sms_remaining.
JavaScript examples call https://api.agentline.cloud with fetch and a
Bearer al_live_... key. The Node package is not on npm.
Buy a number
List and reassign
Reassigning moves the number to another agent. The target agent must not
already have an active number. Deleting an agent detaches (but does not
release) its number.
Release a number
POST /v1/numbers/{number_id}/release