🇪🇸 Español 🇬🇧 English 🇧🇷 Português
Guides

WhatsApp Cloud API: Step-by-Step Setup Guide (2026)

A 2026 guide to setting up the WhatsApp Cloud API from scratch: Meta Business account, number, verification, templates and your first test message.

July 11, 2026

Getting the WhatsApp Cloud API up and running looks intimidating if you've never done it, but in 2026 the process is more streamlined than ever. This guide takes you step by step, from creating a Meta Business account to sending your first test message—without assuming you're already a developer.

First, some context: the Cloud API is the version Meta hosts (no more on-premise servers, which Meta has discontinued). Hosting is free; you only pay for the conversations you send.

What you need before you start

Gather these so you don't stall halfway through:

  • A verified (or verifiable) Meta Business account (Business Manager).
  • A phone number that is NOT active in the regular WhatsApp app (or one you're willing to migrate).
  • Access to that number's phone/SMS to receive the verification code.
  • Your business display name, exactly as you want it shown.

Step 1: create your Meta account and app

  1. Go to business.facebook.com and create (or use) your Business Manager.
  2. Head to developers.facebook.com and create a Business-type app.
  3. Add the WhatsApp product to the app.

Meta gives you a test environment with a test number and a temporary token. It's fine for experimenting, but for production you need your own number.

Step 2: add and verify your number

In your app's WhatsApp panel:

  1. Add your business phone number.
  2. Pick the verification method (SMS or call).
  3. Enter the code you receive.
  4. Set the display name. Meta reviews it and it can take minutes to hours.

Tip: the display name must follow Meta's policies (it can't be generic or misleading). A rejected name delays everything.

Step 3: understand the access token

This is where many people get stuck. There are two token types:

  • Temporary token: lasts 24 hours, useful only for testing.
  • Permanent token (System User): the one you'll use in production, generated from a system user in Business Manager.

For production, create a System User, assign it the WhatsApp asset, and generate a permanent token with the whatsapp_business_messaging and whatsapp_business_management permissions. Store it securely—it's the key to your account.

Step 4: configure the webhook

The webhook is what lets you receive messages, not just send them. You need:

  1. A public HTTPS URL that answers Meta's verification challenge.
  2. A verify token you invent and Meta echoes back to confirm.
  3. A subscription to the messages fields to receive inbound messages.

If you'd rather not code a webhook server, a platform like Omnifox handles this whole part: connect your number through Meta's official Embedded Signup and the inbox sends and receives without you touching a single webhook line.

Step 5: create your first template

Outside the 24-hour window, you can only start a conversation with approved templates. Create one:

  • Choose a category: utility, marketing or authentication.
  • Write the body with {{1}} variables for personalization.
  • Submit it for review. Approval usually takes minutes to a day.

Avoid mixing a promotional tone into a utility template—it's the number-one cause of rejections.

Step 6: send your test message

With the token and number ready, a POST to the /messages endpoint with the template body sends your first message. If you get back a messages object with an id, it works.

Typical errors at this stage:

  • Error 131009: invalid parameter—check the number format (E.164, with +).
  • Error 190: expired or invalid token; generate a permanent one.
  • Number not on allowlist: in test mode you can only message verified numbers.

From sandbox to production

To scale you need to:

  1. Verify your business with Meta (Business Verification).
  2. Raise your messaging limit (it starts at 250/1,000 conversations/day and grows with good behavior).
  3. Protect your number quality (green/yellow/red): too many blocks degrade it.

Conclusion

Setting up the WhatsApp Cloud API in 2026 is six clear steps: create the app, verify the number, generate a permanent token, wire the webhook, create a template and send the test. The scariest technical part—webhooks and tokens—is exactly what an omnichannel platform saves you.

If you'd rather skip the server work and have your number live today, connect WhatsApp with Omnifox via the official Embedded Signup and start chatting in minutes.

Comentarios (0)

Todavía no hay comentarios. Sé el primero en compartir tu opinión.

Dejá un comentario

Tu email nunca se publica. Los comentarios se moderan antes de aparecer.

Soporta markdown. El HTML se elimina.