Guide

WhatsApp API documentation: a tour of how the Avox docs work

Most documentation fails at the moment you need it, which is late, tired and holding an error message. We designed the Avox docs around that moment, and this tour shows where things are.

6 min read

It's late. A send failed, the response contains a code you've never seen, and you have eleven tabs open. Which of them is the right one?

Good WhatsApp API documentation is judged at exactly that point, not on its landing page. So this is a tour of the Avox docs at docs.theavoxai.com organised around the questions you actually arrive with. It's a map, not a brochure: where things live, which parts we think are well made, and a couple of places where we aren't finished yet.

The shape of it: 18 groups, in the order you meet things

The sidebar has 18 groups, and they follow the life of a customer more than the layout of our code. In order: Get started, Walkthroughs, Workspace, Connections, Templates, Flows and automation, Tables, Avox AI, Team, Plans and billing, Settings, Security and privacy, Help, Avox API, WhatsApp and Meta, Integrations, Status and reliability and Updates. That's well over a hundred pages.

Every page has previous and next links at the foot, a breadcrumb at the top, a table of contents, and a "Last updated" date. Headings carry a small link icon on hover: click it and the link to that exact section is copied, ready to paste into a chat.

Where to look in the WhatsApp API documentation, by question

"I'm setting up for the first time"

Start at Getting started, then use the four Walkthroughs: Connect WhatsApp, Create a template, Create a Flow and Create an automation. Each is a click-through, step-by-step version of the matching wizard in the dashboard. You can read the whole thing before you touch your real account, which matters when the step in question involves Meta's sign-up window.

For the ideas under the screens, the WhatsApp and Meta group explains Business Portfolios, display names, the 24-hour window, template categories, quality ratings and Meta's webhooks. A caution we'd give anyone: Meta changes its rules, pricing included. Treat Meta's own pages as the authority, and use ours to understand the concepts. Our posts, such as the 24-hour window in plain English, link to Meta's pages for exactly that reason.

"Something failed and I have a code"

This is the part we're happiest with, because it's where most docs are thinnest.

There are two families of codes, and the docs keep them apart:

  • Avox codes look like AVX-3059. There's a page for each one, more than 400 in all, at addresses like /error-codes/avx-3059. Each page has the same four parts: What happened, Possible causes, How to fix it and Related codes, plus a button that copies the code. The dashboard shows these codes next to its messages, so the code on your screen and the page you land on are the same thing.
  • Meta's codes are numeric and come from WhatsApp itself. They have their own page, Meta error codes, described as distinct from the AVX ones, so you don't search for the wrong kind.

If you're using the API, the API errors page lists every code the API can return. Every error response has the same shape: a stable code, a human message, a docs_url that links straight to that code's entry, and a request_id that's also sent as the X-Request-Id header. The page promises that codes are never renamed or removed, so it's safe to branch on them in your own code. Paste the request_id into API logs in the dashboard and you'll find the exact request.

The search box (press Ctrl or Cmd plus K) says "Search pages and error codes" and searches names, headings and body text, so you can paste a code or a half-remembered phrase.

"I'm building something"

The Avox API group runs in the order you'd build: Connect your server, Authentication, Message types, Idempotency, Rate limits, Webhooks, Testing and a Go-live checklist. Code examples come in tabs, usually curl, Node.js and Python, and when you choose a language it switches on every example on the page and is remembered on your device. There are also pages for Node.js, Laravel, n8n, Make and Zapier under Integrations.

We wrote the testing page to be used rather than skimmed. It describes four layers: a test key that never sends, the dashboard's dry run, a real send to your own phone, and deliberate error paths. If those sound familiar, they're the same ideas as in our post on test keys and safe retries.

Beyond sending, there's a builder API for tables, rows, Flows, templates and automations. Its reference page lists every endpoint with its scope, and the docs serve an OpenAPI document at /openapi.json. That file is generated from the same schemas the API itself validates with, not written by hand beside it, which is the only reliable way we know to keep a spec honest. There's also a page written for AI assistants: instructions one follows to build in Avox with an API key.

"How much can I do on my plan?"

The Plans page reads its prices and limits live, from the same place the pricing page reads them, so it doesn't drift. Several other pages work the same way: the premade tables list and the automation catalogue are generated from the product's own data, so a new premade shows up in the docs because it exists, not because someone remembered to type it.

"I want my AI tool to read this"

Docs pages have a Copy page button at the top, with a small menu: copy the page as Markdown, view it as Markdown, or open it in ChatGPT or Claude with a prompt asking the assistant to read it. Any page is also available as plain Markdown by adding .md to its address. On the docs home, Copy all docs puts everything on your clipboard as one Markdown file, with links to llms.txt and the full docs text. If you're building with an assistant, that saves you pasting twenty pages.

What we haven't finished

We'd rather you hear it here. A few of the newest pages still show a labelled grey placeholder where a screenshot is going to go. The older pages carry real product screenshots. And, like every docs set, it can be slightly behind the product on a given day. The Changelog, which has its own RSS feed, is where you can see what shipped and when, and the Last updated date on each page tells you how fresh that page is.

Questions people ask

Is there a search that includes error codes?

Yes. The docs search covers pages and error codes together. Press Ctrl or Cmd plus K, or use the search button on a phone.

Where do I find the full list of API errors?

On the API errors page. Every error response also links to its own entry through docs_url.

Can I use the docs with an AI assistant?

Yes. Use Copy page for one page or Copy all docs from the home page. Pages are also available as Markdown by adding .md to the address.

Where do I start if I only want to send a message?

The Avox API overview has a five-minute quickstart. The Avox API post is a gentler walk through the same steps.

Try this now

Pick the last error you hit, however small, and paste its code into the docs search. If the page you land on doesn't tell you what to do next, tell us through Support. We'd rather fix the page than leave you with the tab.

  • #whatsapp api documentation
  • #avox documentation
  • #api docs
  • #error codes
  • #openapi
  • #developer docs
Thanks for reading!

Thanks for reading

How did this land? 0 reactions

Was this helpful?

Try it yourself

A tour of the Avox WhatsApp API documentation: sidebar groups, click-through walkthroughs, 400+ error code pages, the builder API with OpenAPI, and Markdown for AI tools.

Share this story

Follow Avox on Google

Pick Avox as a preferred source and Google shows our stories more often in Top Stories and its search results.

Add Avox as a preferred source on Google(opens Google)

Related articles

More stories on the same topics, picked for you.

Bring your team onto Avox today

No switch, no lost history: just faster replies from day one.

Signing up also gets you product updates, now and then. Unsubscribe any time. Privacy