Introduction #
OneXtel is a leading CPaaS (Communication Platform as a Service) provider that offers seamless, end-to-end communication solutions. Our product offering includes channels like SMS, Voice, WhatsApp, Chatbot, RCS, and Email services tailored for businesses of all sizes.
Prerequisites:
1.An active Onextel WhatsApp account on 365cx.io
2.An active MoEngage account
3.WABA Number
Step 1: Obtain the API Key from Onextel
Step 1: Obtain the API Key from Onextel
Before configuring MoEngage, generate the API key from the Onextel portal.
1. Log in to the Onextel instance.
2. Navigate to the API section.
3. Click Show API Key to view the existing key.
If no key is available, click Generate API Key
Step 2: WhatsApp Sender OutBound Configuration of MoEngage
To configure a Sender from OneXtel on the MoEngage dashboard, please follow the steps below:
1.Navigate to Settings → WhatsApp → Sender Configuration.
2. Select OneXtel from the left-side menu and click on + Sender.
3.Enter the required details:
URL: https://mo.onexaura.com/moengage/whatsapp/outbound
WABA ID: Obtain this from the OneXtel dashboard under Channel → WhatsApp.
Authorization: Paste the API key obtained in Step 1.
WABA Number: Enter the registered WABA number (Can be obtained from the Onextel Dashboard).
4. Click on Save to complete and store the configuration.
Step 3: Configure Callback in Onextel
Navigate to the Onextel dashboard, proceed to the Configuration section, and select Add New Callback.
Give an appropriate Title, select Channel as WhatsApp, and choose Callback Format Type as MoEngage. Also, ensure that the same API Key used in the MoEngage configuration is selected.
Under the Request Configuration section, select Type as Delivery Notification and HTTP Method as POST.
Paste the Callback URL copied from the MoEngage dashboard and click on Save.
Step 4: Configure Inbound and Button click in Onextel
Navigate to the Onextel dashboard, proceed to the Configuration section, and select Add New Callback.
Give an appropriate Title, select Channel as WhatsApp, and choose Callback Format Type as MoEngage.
Under the Request Configuration section, select Type as Incoming and set the HTTP Method to POST.
In the URL field, enter the following:
https://mo.onexaura.com/moengage/whatsapp/inbound
Scroll down to the Header section and add the following details:
Key: callback_url
Value: DLR URL of MoEngage
Click on Save to complete the configuration.
Note:
The same configuration must also be applied for Quick Reply button clicks. However, under the Request Configuration section, the Type should be set to Button Click, while the HTTP Method remains POST.
The Inbound URL and Button Click URL will be the same. Additionally, the Header key and value will also remain unchanged.