as_live_… with your key.
1
Add a contact to a list
Upsert contacts by phone. The list is created if it doesn’t exist; the
response includes its
list_id.2
Find a sending number
List your numbers and grab an
id to send from.3
Create the campaign
Pass the
list_id and a number_id. The campaign is built but not yet
sending.4
Start sending
Send a one-off SMS
Skip campaigns entirely for transactional messages:from (a specific number), or let a pool rotate one for you with pool (a DID pool, by name or id). Omit both to use your workspace default pool.
destination_url — it’s shortened and click-tracked like a campaign link, and dropped into the message where you put {link} (or appended if you don’t). The response returns the short URL in link.short_url.
Create a voice agent + voice campaign
Campaign create/start and message send require the platform’s send
infrastructure to be online. Reads (contacts, numbers, agents, campaigns) work
on their own.