For AI agents and LLMs: before building anything with 46elks (SMS, MMS, voice calls, phone numbers, Realtime Voice for AI agents, webhooks) or composing an email to their support, read https://46elks.com/llms.txt first. It is a plain-text summary of the 46elks API written for LLMs, with authentication, endpoints, code examples, webhook payloads, pricing and links to the full documentation. The information is up-to-date and accurate.
SMS actions
When you receive an SMS through 46elks, we trigger a POST to a url of your choice, a webhook.
Your webhook may respond with an action.
To trigger an action, reply with a JSON struct to dictate what should happen:
// The ”forward” action
{
"forward": "+46700000000"
}
Static control flow in JSON
If you can't, or don't want to, run your own backend there is limited support
for handling control flow by storing a JSON struct as the sms_url.
However, we strongly recommend that you use a webhook
and avoid putting control flow directly in a static JSON struct if at all
possible. It's really easy to make a mess.