In this article, we'll show you on how to connect your CleverTap account to use 8x8 Batch API in order to send your marketing campaign seamlessly.
Requirements:
- 8x8 Connect account
- CleverTap account
Setting up SMS channel:
- Login to your CleverTap account with admin access then proceed to Settings > Channels > SMS.
- Click +Add Provider button.
- Under Provider selection box, select Other (Generic).
- Set Preferred nickname.
- At Request Type, select POST
- At HTTP Endpoint, paste the 8x8 API endpoint
https://sms.8x8.com/api/v1/subaccounts/{subAccountId}/partners/clevertap/batch
NOTE: Please replace the parameter subAccountId with your 8x8 subAccountId for marketing campaign. - Under Authentication, select No Authentication.
- Under Headers, you need to add below
NOTE: Paste the API key value from your 8x8 Connect account. - Under Parameters, choose JSON and add below
{
"uid": "$$uid",
"msgs": [
{
"destination": "$$To",
"text": "$$Body",
"mid": "$$MessageID",
"encoding": "auto",
"partnerCallbackUrl": "<CleverTap-Callback-URL>"
}
]
}NOTE: From your CleverTap settings, copy the Callback URL and paste it into partnerCallbackUrl parameter.
- Check the Batch checkbox, input msgs in parameter and 1000 in times in a single payload.
- Click Save.
- Open your newly configured SMS channel and copy the CleverTap Callback URL.
- Go to 8x8 Connect 8x8 Connect .
- Proceed to Webhook and add the CleverTap callback URL as your webhook of choosen subAccountId.
Setting up SMS throttle limit in CleverTap:
- Go to Settings > Setup > Campaign Limits.
- Click + Add channel and choose SMS.
- Under Throttle textbox, you can input preferred value from 100,000 to 600,000 max then Save.
Additional information when creating CleverTap campaign:
- Under SMS Editor section, you may need to input Global key-value pairs. You can input any preferred values.
- Under Delivery preferences, please ensure you select the desired throttle limit.
Please sign in to leave a comment.
0 Comments