A Super Admin must enter the Zalo credentials in ChatbotX before the integration can work. Complete this step immediately after obtaining your App ID and Secret Key.
Click the Edit button on the Zalo card to open the configuration modal.
4
Fill in the Zalo credentials
In the Edit Zalo modal, fill in the following fields:
Field
Description
Where to find
Client ID
Zalo Application ID
Zalo Developers → App Dashboard
Client Secret
Zalo Application’s Private Key
Zalo Developers → App Dashboard
API Version
API version to use
e.g., v1.0
Webhook Verify Token
Any string you create yourself
Self-generated
The Webhook Verify Token is a unique string you generate yourself. Zalo uses this token to verify webhook requests from your server.
5
Save
Click Save to apply the settings. The Zalo card will now display your Client ID.After saving, ChatbotX will display the Auth Callback URL and Webhook URL. Copy and keep these URLs, you will need them in the following steps.
Zalo requires domain verification before your application can receive webhook events. This step confirms that you own the domain where ChatbotX is hosted.
1
Get the verification URL from ChatbotX
Copy the domain that directs to your ChatbotX Org Settings panel. This is the domain where your ChatbotX application is hosted and will be used for domain verification:
app.yourdomain.com
2
Complete domain verification in Zalo
Go to your Zalo application settings and follow the Zalo domain verification guide. Add the meta tag obtained from Zalo to your ChatbotX domain’s HTML or DNS settings.
3
Confirm verification status
Domain verification may take a few seconds to propagate. Check the verification status in your Zalo application dashboard after 3–5 seconds. You may need to check 2–3 times before the status updates.
ChatbotX needs two URLs configured in your Zalo application to receive messages and events.
1
Set the Callback URL in Zalo
Copy the Auth Callback URL from your ChatbotX Zalo integration settings, then paste it into your Zalo application settings and select the required permissions for OAuth authorization.
2
Set the Webhook URL in Zalo
Copy the Webhook URL from your ChatbotX Zalo integration settings, then paste it into your Zalo application’s webhook configuration. Subscribe to the following events: