Build with AirFone
AirFone answers your customers on phone calls, WhatsApp and the web with the same assistant. This site shows you how to put that assistant into your own product and drive it from your backend.
You can:
- Add a chat and voice assistant to any website with one script tag.
- Start outbound AI calls and send WhatsApp messages from your server.
- Get signed webhooks when calls end, messages arrive or a customer needs a person.
- Give the assistant actions in your systems by building a connector.
Get a key
Section titled “Get a key”- Create a developer account. You get a sandbox organization straight away, with test numbers, simulated calls and a free AI quota.
- Open Apps and keys in the console and create an app. Copy the secret key when it is shown. It is shown once.
- Try a call:
curl https://api.airfone.app/v1/calls \ -H "Authorization: Bearer af_sk_test_..." \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"to": "+9779800000001", "agent_id": "agt_..."}'Test keys never place real calls or send real messages. When you are ready, follow the go live checklist in the console.
Where to next
Section titled “Where to next”- Assistant on your website
- Make an outbound AI call
- Send a WhatsApp message
- Receive webhooks
- Build a connector
- Concepts: keys, test and live, idempotency, versions and errors
- API reference