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.
- Teach it what you sell: push your products and policies, or connect your website.
- 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.
- Make your first request:
curl https://app.airfone.app/v1/account \ -H "Authorization: Bearer $AIRFONE_API_KEY"Then ask what the assistant knows:
curl https://app.airfone.app/v1/knowledge/search \ -H "Authorization: Bearer $AIRFONE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query": "What does delivery cost?", "audience": "public"}'Test keys never place real calls or send real messages. Live keys are made in your business organization and need no approval: live use is paid from its credit, and a call with no credit left is refused with a message to add some.
Where to next
Section titled “Where to next”- Assistant on your website
- Teach it what you sell
- Let it do things for callers
- Receive webhooks
- Build a connector
- Concepts: keys, test and live, idempotency, versions and errors
- API reference