Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
WhatsApp Embedded Signup
WhatsApp Embedded Signup enables businesses to connect their Facebook Business Manager account to Telnyx and provision WhatsApp Business Account (WABA) resources through a streamlined browser-based workflow.Prerequisites
Before starting the embedded signup process:Telnyx Account Setup
- Active Telnyx account with messaging enabled
- Valid payment method configured
- Account in good standing with no billing issues
- Log in to Telnyx Portal
- Navigate to Messaging → WhatsApp
- Ensure you have admin permissions for your organization
Facebook Business Manager
- Facebook Business Manager account (business.facebook.com)
- Admin access to the Business Manager account
- Business verification completed (recommended for production use)
- Each phone number can only be associated with one Business Manager
- Business Manager must have appropriate permissions for WhatsApp Business API
- Account must comply with Facebook Business policies
Signup Flow Overview
The embedded signup process follows a multi-step finite state machine (FSM) that progresses through these states: Each state represents a checkpoint in the signup process with specific completion criteria and potential failure points.Step-by-Step Signup Process
Initiate Embedded Signup
- Navigate to Messaging → WhatsApp → Getting Started
- Click Connect WhatsApp Business
- Review the permissions and requirements displayed
- Click Begin Setup to start the embedded signup flow
- Telnyx creates a signup session with state
initiated - Portal generates a secure OAuth URL for Facebook authorization
- Session tracking begins for completion monitoring
Facebook OAuth Authorization
- Browser redirects to Facebook Business Manager OAuth consent screen
-
Review the requested permissions:
- WhatsApp Business Management — Create and manage WABA
- Business Asset Management — Associate phone numbers and templates
- Webhook Management — Configure message and status webhooks
- Click Continue to grant permissions
- Select target Business Manager if you have multiple
- Facebook validates your Business Manager admin status
- OAuth token is generated and securely transmitted to Telnyx
- Signup state advances to
facebook_auth
- Permission denied: Ensure you have admin access to Business Manager
- Business not verified: Some features require verified Business Manager
- Already connected: Phone number may be connected to another provider
WhatsApp Business Account Creation
- WABA is created under your Business Manager
- Telnyx is granted the necessary permissions as a solution partner
- Initial configuration is applied (timezone, business category)
- Webhook endpoints are pre-configured for Telnyx integration
- Facebook creates the WABA resource
- Telnyx receives WABA credentials and configuration details
- Signup state advances to
waba_created - WABA settings are synced to Telnyx systems
- Business category: Inherited from Business Manager
- Webhooks: Configured via your messaging profile webhook settings
Phone Number Registration
- Portal displays available phone numbers from your Telnyx inventory
- Select the phone number to register for WhatsApp
- Choose the WABA to associate with the number
- Confirm the registration request
- Must be a Telnyx number with an active messaging profile assigned
- Cannot be currently registered with another WhatsApp provider
- Can be used alongside SMS/voice on the same number — WhatsApp uses a separate API path
- Phone number is submitted to Facebook for WhatsApp registration
- Facebook begins the verification process
- Signup state advances to
phone_registered - Number status changes to “pending verification”
- Number format: E.164 format (+1234567890)
- Verification method: Automatically determined by Facebook
- Processing time: Usually 1-5 minutes for verification
Phone Number Verification
- Carrier validation: Facebook verifies number ownership with telecom provider
- SMS verification: Test SMS may be sent to validate delivery capability
- API validation: Facebook tests webhook delivery and response handling
- Typical duration: 1-15 minutes
- Complex cases: Up to 24 hours for carrier validation
- Failed attempts: May require manual review or different number
- Facebook completes all verification checks
- Number status updates to “verified” in Facebook systems
- Signup state advances to
verified - Number becomes available for sending messages
- Voice Call
- SMS Delivery
- Carrier API
Requirements: Number must accept incoming calls
Signup Completion
When verification succeeds, your WhatsApp integration is ready:Account Status
- WABA Status: Active and ready for messaging
- Phone Number: Verified and enabled for sending/receiving
- Webhooks: Configured and receiving events
- Templates: Ready for submission and approval
Next Steps After Signup
Send Messages
Quickstart
Receiving Webhooks
Troubleshooting Common Issues
Facebook OAuth Permission Denied
Facebook OAuth Permission Denied
- Not admin of Business Manager account
- Business Manager doesn’t have WhatsApp permissions
- Account suspended or restricted
- Verify admin access in Business Manager
- Contact Facebook Business Support if account restricted
- Use different Business Manager account
- Check account verification status
WABA Creation Failed
WABA Creation Failed
- Business Manager doesn’t meet Facebook requirements
- Too many existing WABAs on Business Manager
- Business policy violations
- Complete Business Manager verification
- Review and resolve any policy violations
- Remove unused WABAs from Business Manager
- Contact Telnyx support with signup session ID
Phone Number Already Registered
Phone Number Already Registered
- Number registered with another Business Service Provider
- Number previously registered but not properly disconnected
- Number registered to different WABA
- Disconnect number from previous provider
- Contact previous provider to release number
- Use different phone number for registration
- Contact Facebook Business Support for assistance
Verification Timeout or Failure
Verification Timeout or Failure
- Number doesn’t support voice calls or SMS
- Carrier blocking verification attempts
- Number routing issues
- Verify number accepts incoming calls and SMS
- Try different phone number if possible
- Contact carrier to check for blocks
- Wait and retry verification process
- Contact Telnyx support with verification details
Webhook Configuration Issues
Webhook Configuration Issues
- Webhook URL not properly configured
- Firewall blocking webhook delivery
- Invalid webhook signature verification
- Verify webhook URL accessibility from Facebook servers
- Check webhook signature verification implementation
- Review webhook configuration in Portal
- Test webhook endpoint with manual POST requests
- Check logs for delivery attempts and errors
Browser Extensions Blocking Signup Flow
Browser Extensions Blocking Signup Flow
- Ad blockers (uBlock Origin, Adblock Plus, etc.) blocking Facebook/Meta domains
- Privacy extensions (Privacy Badger, Ghostery) blocking third-party scripts
- Browser security settings blocking cross-origin popups
- Temporarily disable ad blockers and privacy extensions for the signup flow
- Add
facebook.comandmeta.comdomains to your extension’s allowlist - Try using a different browser profile without extensions
- Use Chrome Incognito mode (extensions are typically disabled by default)
- Ensure popup blockers allow popups from the Telnyx Portal domain