Setup

Setup Webhooks

Webhooks send an HTTP API request with information about the user i.e event or user properties.

To set up your first CleverTap webhook:

  1. Navigate to Settings > Engage > Channels > Webhooks.
  2. Click + Add Webhook.
  3. Configure the webhook template.
  4. Click Save.
  5. Once you click Save, CleverTap sends the below payload to your configured endpoint.
{
   "is_test":true,
   "targetId":1234,
   "key_values":{
      "key":"value"
   },
   "profiles":[
      {
         "Identity":"UserId",
         "Email":"[email protected]",
         "push_token":"Token"
      },
      {
         "Identity":"UserId",
         "Email":"[email protected]",
         "push_token":"Token"
      },
      {
         "Identity":"UserId",
         "Email":"[email protected]",
         "push_token":"Token"
      },
      {
         "Identity":"UserId",
         "Email":"[email protected]",
         "push_token":"Token"
      },
      {
         "Identity":"UserId",
         "Email":"[email protected]",
         "push_token":"Token"
      }
   ]
}
  1. Once your endpoint responds with an HTTP status 200 OK, CleverTap will save the template.

Did this page help you?