API Reference
Login dialog
/dialog/oauthhttps://whatsapp.mimicr.dev/v24.0 · provider: https://graph.facebook.com/v24.0Facebook Login consent dialog (Meta serves it at https://www.facebook.com/{version}/dialog/oauth). After consent it redirects to redirect_uri?code=…&state=…; when the user cancels, to redirect_uri?error=access_denied&error_reason=user_denied&…. The code is valid for 10 minutes and is exchanged at /oauth/access_token.
In Mimicr, the page is simulated: with several businesses in the sandbox the user picks one, and the code (and the token) only gives access to that WABA. Without redirect_uri, the page opened by FB.login of the Mimicr sdk.js returns the code to the opener and posts the WA_EMBEDDED_SIGNUP events.
Authorization
Public route, no token.
Query parameters
App ID.
URL that receives the code.
Opaque value returned unchanged.
Comma-separated permissions, e.g. whatsapp_business_management,whatsapp_business_messaging.
Embedded Signup configuration ID.