AutoWhats API and webhooks
Use the AutoWhats API to send messages and templates, read conversations and keep contacts and products in sync from your own systems, and receive signed webhooks when customers write, staff take over, or orders and bookings come in.
You’ll need
- An owner or admin login to AutoWhats
- A server that can make HTTPS requests
Create an API key
In Settings › Developers, create a key and give it only the scopes it needs: messages:send, templates:read, contacts:read, contacts:write, conversations:read, catalog:read, catalog:write or tools:register.
Send it as Authorization: Bearer aw_live_... (or X-API-Key). It’s shown once - store it like a password.
Call the API on your business’s address
Requests go to your own AutoWhats address under /api/v1/ - for example GET /api/v1/me/ to check the key, POST /api/v1/messages/ to send, GET /api/v1/templates/, /contacts/, /conversations/ and /products/.
The full reference is at /api/v1/docs/ on your address.
Add a webhook
Add an https:// endpoint and pick events: message.received, message.sent, conversation.handoff, order.created, appointment.created (none ticked means all).
Every delivery is signed: X-AutoWhats-Signature: t=<unix>,v1=<hex>, where v1 is HMAC-SHA256 of <t>.<raw body> with the endpoint’s secret. Check it, and reject old timestamps.
Watch for failures
Connection health shows an endpoint after failed deliveries - “5 deliveries in a row failed” - with the last status code, so a broken endpoint doesn’t go unnoticed.
Questions
- Can a key be limited?
- Yes - each key has only the scopes you give it, and you can revoke it at any time. Anything using it stops immediately.
- Do I need a template to message a customer?
- To message first or after 24 hours of silence on WhatsApp, yes - send an approved template through the API.
Related guides
- WooCommerce WhatsApp order notifications and AI chatInstall the AutoWhats plugin on WordPress and your WooCommerce store sends order updates on WhatsApp, keeps products in sync, lets the assistant answer “where is my order?” from live data, takes payment for unpaid orders in chat, and adds the website chat.
- WHMCS WhatsApp notifications and AI billing assistantThe AutoWhats addon sends your WHMCS invoices, payment reminders, ticket replies and service notices on WhatsApp. With assistant lookups on, customers can check a domain, see what they owe and pay an invoice right in the chat.
- Check that your integrations are workingConnection health lists everything you’ve connected and says, in plain words, if something has stopped working and how to fix it - so you hear about a disconnected WhatsApp number from AutoWhats, not from customers.
Checked against AutoWhats on 17 November 2026.