Whatsapp Messenger
If your subscription mode has third-party application integration enabled, you can access the WhatsApp Messenger integration using the following steps:
- Log in to Usizy’s Dashboard.
- Click on ‘WhatsApp Messenger’ in the left menu under the ‘Integrations’ submenu.
Now all you have to do is fill in the required information to integrate with your WhatsApp Messenger account.
Steps to obtain the API Key and Phone Number ID for WhatsApp:
- Log in to Facebook Developers Portal:
- Go to: https://developers.facebook.com.
- Log in with your Facebook account associated with your WhatsApp Business Account (WABA).
- Create or Use an Existing App:
- Select an existing app or create a new one for your integration.
- Ensure that you have enabled the WhatsApp Business Platform in your app's settings.
- Obtain API Credentials:
- In the WhatsApp > Getting Started section of the app, find your:
- Phone Number ID
- Business Account ID
- Permanent Access Token (for authentication).
- Copy these values and store them securely.
Steps to configure a Webhook for WhatsApp:
- Navigate to Webhooks in Facebook Developer Portal:
- Go to: Settings → Webhooks.
- Configure the Webhook:
- Callback URL: Enter
https://sa-media.usizy.es/smart-assistant/whatsapp_webhook/
. - Verify Token: Provide a token to validate the webhook (e.g., "mySecretToken").
- Select the subscription fields for messages and status updates.
- Callback URL: Enter
- Save and Test the Webhook:
- Click Save and use the "Test" feature in Facebook Developer Portal to ensure the webhook is working correctly.