> For the complete documentation index, see [llms.txt](https://guides.apxor.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.apxor.com/partner-integrations/clevertap.md).

# CleverTap

**Easily synchronize user segments from CleverTap to Apxor**

## Step 1: Create Webhook

1. Navigate to *Settings* > *Engage* > *Channels*> *Webhooks*.

![](/files/yNmDvOcn9StT1wRrjOYZ)

1. Click on Add Webhook button in the top right corner
2. You will get a pop up to create webhook template
3. Select **POST** method and enter the following as the destination URL – (enter your Apxor app-id in place of \<app-id>). [Know how to get app id.](/getting-started-with-apxor/adding-a-new-app.md#step-5-copy-the-application-identifier)

   <mark style="color:green;"><https://server.apxor.com/v1/track/external/clever-tap/sync/\\><app-id></mark>
4. Enable basic authorization and enter the username and password provided by the Apxor Team.

   Contact your Apxor CSM or email us at <mark style="color:blue;">**<contact@apxor.com>**</mark>
5. Click on Create button and the webhook gets created.

![](/files/aB9zYmxdBoDrSaM3rvYD)

## Step 2: Creating a webhook campaign

1. Now we will create a webhook campaign that transfers users data through the newly created webhook. Navigate to the campaign section and create your webhook campaign as shown in image below.

   ![](/files/nKvwkhgjWUN0hqMST6FU)
2. Complete the sections provided and make sure you have selected correct webhook under webhook section
3. Under <mark style="color:orange;">**What**</mark> Section click on <mark style="color:orange;">**Go To Editor**</mark> button
4. Add a custom attribute with field name <mark style="color:orange;">apx\_cohort\_name</mark> and enter a name for your cohort
5. Let all other fields be as it is.
6. Use **Preview & Test** to test it out.

   ![](/files/Xzc4E4OMjB1GyabaSHnm)
7. After finishing all sections go to publish campaign and click on it

   ![](/files/NoKXHaQfuWYGZFkQZsTD)
8. Within a few minutes after publishing the campaign, there will be a new dynamic cohort added to your Apxor application dashboard. Use this cohort to target the right audience for your Apxor campaigns.

For more information refer to the CleverTap [documentation](https://docs.clevertap.com/docs/setup-webhooks).
