← Blog

·

WhatsApp Embedded Signup: how SaaS platforms and agencies connect their clients’ WhatsApp

Updated on November 4, 2026

WhatsApp Embedded Signup is Meta’s official pop-up that a SaaS platform or agency places on its own site so clients can connect their WhatsApp in a few clicks: they log in with Facebook, pick or create the portfolio, the WhatsApp account and the number, and your app receives the IDs plus a code that becomes an access token. To offer that button to third parties, your company must be a Tech Provider (or a Meta partner), with business verification and advanced access to the WhatsApp permissions. The latest version is v5, released on October 20, 2026.

What Embedded Signup does

According to the Embedded Signup overview, it is an authentication and authorization interface, for desktop and mobile, that collects business information, creates the WhatsApp assets and grants your app access to them. It runs on Facebook Login for Business and Meta’s JavaScript SDK, opened in a new window from a button on your site.

Inside the window, the client:

  1. Logs in with a Facebook or Meta Business account.
  2. Accepts the terms (Cloud API, WhatsApp Business, Meta and Marketing Messages API).
  3. Picks or creates a business portfolio.
  4. Picks or creates a WhatsApp account.
  5. Enters and verifies a phone number (their own or one you provide).
  6. Sets the display name.

At the end, your site receives the waba_id, the phone_number_id and a code that can be exchanged for a token. The assets still belong to the client: they keep full access to WhatsApp Manager, and you can’t restrict it.

The new account structure in the flow

Meta is splitting the old WABA into two pieces, as explained in WhatsApp account vs. messaging account: the WhatsApp account (number and identity) and the Messaging account (templates, billing and webhooks). The account model evolution page says the new model became generally available on September 23, 2026 and that existing waba_id values don’t change: they now identify the Messaging account. In Embedded Signup, each partner gets its own Messaging account linked to the client’s number.

Versions: which one to use

The versions page lists:

VersionReleasedStatus on November 4, 2026
v5October 20, 2026Latest
v4October 8, 2025Current
v3May 29, 2025Deprecated since October 15, 2026
v2January 2023Deprecated since October 15, 2026

Requests with a deprecated, missing or invalid version are served as v4. In v5, the version goes in extras: { version: "v5" }, and the sessionInfoVersion parameter from older versions is no longer used.

Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →

Step 1: configure your Meta app

In the app dashboard (with the WhatsApp use case), the implementation page asks you to:

  1. Under Facebook Login for Business › Settings › Client OAuth settings, turn on, among other options, Client OAuth login, Web OAuth login, Enforce HTTPS and Login with the JavaScript SDK.
  2. Add your domain to Allowed domains and Valid OAuth redirect URIs (HTTPS only).
  3. Under Configurations, create a configuration from the WhatsApp Embedded Signup template, or a custom one with the “WhatsApp Embedded Signup” login variation.
  4. Save the configuration ID (config_id).

Step 2: the button on your site

Load the SDK, initialize it with your App ID and call FB.login with the config_id:

window.fbAsyncInit = function () {
  FB.init({ appId: "<APP_ID>", version: "<GRAPH_API_VERSION>" });
};

// Receives the IDs the pop-up sends back
window.addEventListener("message", (event) => {
  if (!event.origin.endsWith("facebook.com")) return;
  try {
    const data = JSON.parse(event.data);
    if (data.type === "WA_EMBEDDED_SIGNUP") {
      if (data.event === "CANCEL") console.log("Stopped at", data.data.current_step);
      else if (data.event === "ERROR") console.error(data.data.error_message);
      else saveSession(data.data); // phone_number_id, waba_id, business_id
    }
  } catch (e) { /* non-JSON messages */ }
});

function connectWhatsApp() {
  FB.login((response) => {
    if (response.authResponse) {
      // The code is valid for 30 seconds: send it to the backend right away
      fetch("/api/whatsapp/onboarding", {
        method: "POST",
        headers: { "Content-Type": "application/json" },
        body: JSON.stringify({ code: response.authResponse.code })
      });
    }
  }, {
    config_id: "<CONFIGURATION_ID>",
    response_type: "code",
    override_default_response_type: true,
    extras: { version: "v5" }
  });
}

The success event carries phone_number_id, waba_id and business_id, and the event field tells you how the flow finished (FINISH, FINISH_ONLY_WABA, FINISH_WHATSAPP_BUSINESS_APP_ONBOARDING or FINISH_GRANT_ONLY_API_ACCESS). If the client abandons the flow, you get CANCEL with the step in current_step; on failure, ERROR with error_message, error_code and session_id, which is useful when opening a ticket with Meta.

Step 3: exchange the code for a token (server side)

The code expires in 30 seconds. The exchange happens server to server, because it uses your app secret. The steps are in onboarding customers as a Tech Provider:

curl --get 'https://graph.facebook.com/v21.0/oauth/access_token' \
  -d 'client_id=<APP_ID>' \
  -d 'client_secret=<APP_SECRET>' \
  -d 'code=<CODE>'

The response contains a business token (access_token), which the access tokens page describes as a business integration system user token scoped to that client. With it, your system works without the client logging in again. Store it encrypted, per client.

Step 4: subscribe to webhooks and register the number

Still on the server, with the business token:

# Subscribe your app to the client's account webhooks
curl -X POST 'https://graph.facebook.com/<API_VERSION>/<WABA_ID>/subscribed_apps' \
  -H 'Authorization: Bearer <BUSINESS_TOKEN>'

# Register the number on Cloud API with a 6-digit PIN
curl 'https://graph.facebook.com/<API_VERSION>/<PHONE_NUMBER_ID>/register' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <BUSINESS_TOKEN>' \
  -d '{ "messaging_product": "whatsapp", "pin": "<PIN>" }'

Common registration errors are covered in how to register a phone number on WhatsApp Cloud API.

The last step has no API for Tech Providers: the client adds a payment method in WhatsApp Manager. Solution Partners can instead share their credit line with the client’s account.

Account webhooks: knowing what happened

Besides messages, your app receives account_update events. The account_update webhook reference lists, among others:

EventWhen it fires
PARTNER_ADDEDThe account was shared with a partner (includes coexistence)
PARTNER_APP_INSTALLEDThe client granted permissions to your app
PARTNER_APP_UNINSTALLED / PARTNER_REMOVEDThe client removed the app or the partner
ACCOUNT_RESTRICTION / ACCOUNT_VIOLATIONThe account was restricted or violated a policy
ACCOUNT_OFFBOARDED / ACCOUNT_RECONNECTEDThe account was disconnected or reconnected after a device change or number re-registration

Use these events to update the client’s status in your dashboard and alert them when something breaks.

Coexistence and hosted Embedded Signup

  • Coexistence: the client can keep the number on the WhatsApp Business app and also use it through the API. According to the page on onboarding Business app users, in v5 this option is on by default. The app must be on version 2.24.17 or later, phone registration is skipped, only one-to-one chats sync (not groups), and throughput is fixed at 20 messages per second.
  • Hosted Embedded Signup: Meta offers a no-code version for your site, with a URL generated in the app dashboard. It only onboards to Cloud API and can’t be customized.

Requirements to offer Embedded Signup

Anyone connecting third-party numbers must join one of the programs described in the solution providers overview:

ProgramWhat it isCredit line for clients
Tech ProviderOffers the service alone or with a Solution PartnerNo
Tech PartnerTech Provider that is or can become a Meta partnerNo
Solution PartnerMeta partnerYes

The Tech Provider path, according to the Tech Provider getting started guide, requires:

  1. An app with the WhatsApp use case.
  2. Business verification (required before app review).
  3. Two videos: one sending and receiving a message, another creating a template.
  4. App Review for advanced access to whatsapp_business_messaging and whatsapp_business_management. Without it, calls to accounts you don’t own return an error.

There are also onboarding limits: by default, 10 new clients per rolling 7 days; after business verification, App Review and access verification, 200 per 7 days. Above that, Meta points you to becoming a partner. The difference between a BSP and a Tech Provider is explained in what are BSPs and Tech Providers.

Your own Embedded Signup or a provider?

Building the flow is worth it when WhatsApp is central to your product and you want full control: tokens, webhooks and Meta billing directly on the client’s card. The cost is going through verification, App Review and the videos, and keeping the code current with each version. For agencies, the playbook for managing many clients is in WhatsApp API for agencies; for SaaS, in WhatsApp for SaaS. After onboarding, isolating tokens and webhooks per client is covered in multi-tenant SaaS on the WhatsApp API.

How it works on Vectalk

Vectalk is a proxy for the official WhatsApp API. In the dashboard, under Instances › Connect account, the client follows Meta’s integration flow (Embedded Signup), and the system automatically imports the phone_number_id, the waba_id and the access token, as described in the quickstart. Each number becomes an instance. Your system calls the Vectalk API with its own tokens: an organization token accesses every instance (and requires phone_number_id when sending), while an instance token is limited to one number, as explained on the API Tokens page.

For billing, the client pays Vectalk (the plan’s monthly fee plus a prepaid balance on the platform), Vectalk pays Meta, and each delivered message is deducted from a prepaid balance, with no card registered at Meta. If the client wants to switch providers later, they just share the WhatsApp account with the new partner. Create your account to try it.

Frequently asked questions

Do I need to be a Tech Provider to use Embedded Signup?

To connect third-party numbers to your app, yes (or a Tech Partner / Solution Partner), with business verification and advanced access to the permissions. To connect only your own numbers, you don’t need the flow: just set up the WABA in your own portfolio.

How long is the code returned by FB.login valid?

30 seconds, according to Meta’s documentation. Send the code to your backend immediately and exchange it for a token server to server.

Does the client lose control of the number with Embedded Signup?

No. The assets stay in the client’s portfolio; they keep full access to WhatsApp Manager and can remove the app or the partner at any time (which fires PARTNER_REMOVED or PARTNER_APP_UNINSTALLED).

How many clients can I onboard per week?

By default, 10 new clients per 7 days. After business verification, App Review and access verification, 200 per 7 days. Above that, Meta points you to becoming a partner.

Can I still use Embedded Signup v3?

No. v2 and v3 were deprecated on October 15, 2026, and requests for deprecated versions are served as v4. Migrate to v4 or v5.


Official sources checked on November 4, 2026: Embedded Signup overview, Embedded Signup versions, Embedded Signup implementation, Onboarding as a Tech Provider, Onboarding Business app users, Hosted Embedded Signup, account_update webhook, Access tokens, Solution providers, Getting started for Tech Providers, Account model evolution, Vectalk quickstart, Vectalk API Tokens.

Try the official WhatsApp API today

Create your account, generate a token and send your first message with the quick-start guide. Same payloads and webhooks as Meta's Cloud API.