# How to Integrate CleverTap with DoubleTick

{% embed url="<https://youtu.be/5KRp7ImJh4E?si=Y0faosCucoBdwDzr>" %}

\
DoubleTick is a WhatsApp Business API platform, while CleverTap is a powerful customer engagement and marketing automation tool.

By integrating both platforms, you can:

* Send WhatsApp messages directly from CleverTap campaigns
* Automatically sync approved WhatsApp templates into CleverTap
* Track message delivery status in real time
* Capture and manage customer replies inside CleverTap

This guide walks you through the complete setup process in a simple, easy-to-understand manner.

***

#### <mark style="color:$primary;">**Before You Begin**</mark>

Make sure you have the following ready:

* Your DoubleTick API Key
* Your WABA Number (WhatsApp Business Account number)

If you don’t have your API Key yet, refer to this guide:\
<https://docs.doubletick.io/docs/quickstart-guide#step-2-generate-your-api-key>

***

#### <mark style="color:$primary;">**Configure DoubleTick as WhatsApp Provider in CleverTap**</mark>

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2Fj2Kdkdsx9MOFKTFe9IPU%2FUntitled%20design%20-%202026-03-19T150939.635.gif?alt=media&#x26;token=2f3863c8-2c03-4024-bce8-64ff1ec0f8db" alt=""><figcaption></figcaption></figure>

This step connects CleverTap with DoubleTick so that it can send WhatsApp messages.

* Log in to your CleverTap Dashboard
* Navigate to:\
  Settings → Channels → WhatsApp → WhatsApp Connect
* Click **+ Provider Configuration**

Fill in the required details such as:

<table><thead><tr><th width="162.79998779296875">Field</th><th>Value</th></tr></thead><tbody><tr><td>Provider</td><td>Generic (Other)</td></tr><tr><td>Mobile Number</td><td>WABA Number</td></tr><tr><td>HTTP Endpoint</td><td><a href="https://public.doubletick.io/whatsapp/message/clevertap">https://public.doubletick.io/whatsapp/message/clevertap</a></td></tr></tbody></table>

***

#### <mark style="color:$primary;">**Add Authorization Header**</mark>

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2F2y197uCYsn22wr7MoyLl%2FUntitled%20design%20-%202026-03-19T151813.093.gif?alt=media&#x26;token=110729cd-14af-43af-8171-e02d779f4acd" alt=""><figcaption></figcaption></figure>

This is required to authenticate requests from CleverTap to DoubleTick.

* Scroll to the Headers section
* Add the following:

Key: Authorization\
Value: Bearer YOUR\_API\_KEY

Replace `YOUR_API_KEY` with your actual DoubleTick API Key.

***

#### <mark style="color:$primary;">**Enable Template Import Setup**</mark>

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2F761QBMi3eH56bhpFzENa%2FUntitled%20design%20-%202026-03-19T154541.124.gif?alt=media&#x26;token=b5de4c1a-4650-4425-bcc7-7e1b58a1863a" alt=""><figcaption></figcaption></figure>

This step allows CleverTap to fetch your approved WhatsApp templates from DoubleTick.

* In the provider configuration screen, locate **Template Import Setup**
* Enable (check) this option
* In the Endpoint field, enter:

```
https://public.doubletick.io/templates/import?wabaNumber=YOUR_WABA_NUMBER
```

Replace `YOUR_WABA_NUMBER` with your actual number (example: 919XXXXXXXXX)

* Add the same Authorization header again:\
  Key: Authorization\
  Value: Bearer YOUR\_API\_KEY

***

#### <mark style="color:$primary;">**Send a Test WhatsApp Message**</mark>

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2FhUeWe0kbK84GozYxEjih%2FUntitled%20design%20-%202026-03-19T160800.119.gif?alt=media&#x26;token=7fdc5ee6-eb04-4ff8-91cd-72795a2339bc" alt=""><figcaption></figcaption></figure>

Before proceeding further, verify that everything is configured correctly.

* Click **Send Test WhatsApp** in CleverTap
* Open DoubleTick and keep the chat window open for your test number
* Confirm that the test message is received successfully

***

#### <mark style="color:$primary;">**Import WhatsApp Templates into CleverTap**</mark>

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2FNhbrESnFnBIUVMepOR07%2FUntitled%20design%20-%202026-03-19T161446.161.gif?alt=media&#x26;token=7f27561b-89d6-4bc1-b11e-93dd052c1e9e" alt=""><figcaption></figcaption></figure>

Now that the connection is working, you need to bring your approved templates into CleverTap.

* Go to the **Templates tab** in the provider configuration screen
* Click **Import Template**
* Click **Import**

All your approved templates will now appear in CleverTap and will be ready for campaign use.

***

#### <mark style="color:$primary;">**Set Up Delivery Status Webhook**</mark>

This step ensures CleverTap receives real-time updates about message delivery.

* In CleverTap, copy the **Delivery Report Callback URL**
* Log in to DoubleTick Dashboard
* Go to **Webhooks section**
* Click **Create New Webhook**

**Configure:**

* Webhook URL: Paste the CleverTap Callback URL
* Event Type: Message Delivery Updates
* Save the webhook

Now CleverTap will automatically receive updates for delivered and failed messages.

***

#### <mark style="color:$primary;">**Set Up Incoming Message Webhook**</mark>

This step allows CleverTap to receive customer replies from WhatsApp.

* In CleverTap, copy the **Inbound Message Callback URL**
* Go to DoubleTick Dashboard → Webhooks
* Click **Create New Webhook**

**Configure:**

* Webhook URL: Paste the Inbound Callback URL
* Event Type: Incoming Messages
* Save the webhook

Now, whenever a customer replies on WhatsApp, it will be captured inside CleverTap.

***

#### <mark style="color:$primary;">**How the Integration Works (End-to-End Flow)**</mark>

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2FOGLo3lghsckXW1rFVgw8%2FUntitled%20design%20-%202026-03-19T163120.931.gif?alt=media&#x26;token=163389d5-d676-4cff-b9b7-897112ffd094" alt=""><figcaption></figcaption></figure>

Once everything is set up:

* You create a campaign in CleverTap
* CleverTap sends the WhatsApp message via DoubleTick
* DoubleTick delivers the message to the customer
* Delivery status is sent back to CleverTap via webhook
* Customer replies are also sent back to CleverTap
* You can track and trigger further actions inside CleverTap

***

#### <mark style="color:$primary;">Quick Troubleshooting Tips</mark>

**Test message not delivered**\
Double-check API Key in Authorization header and verify HTTP endpoint

**Templates not appearing**\
Ensure templates are approved in DoubleTick and WABA number is correct

**Delivery updates not showing**\
Verify webhook URL and event type selection

**Customer replies not received**\
Ensure a separate webhook is created for Incoming Messages
