# Connector Webhooks

Custom Connector Campaign is an API based solution from Growlytics to send campaign messages to your communication vendors which are not registered with Growlytics. With these vendors, you can send messages via API calls. When the campaign is sent, Growlytics will call API endpoints mentioned in the campaign content.

This article will explain how you can report open and click events for the connector campaign messages.&#x20;

## How does it work?

When Growlytics calls the API endpoint for the connector campaign message, Growlytics includes a custom header `x-growlytics-token` which you can use to report open/click of the message.

## Api For Reporting Opens/Clicks

## Use this end point to repor to report opens/clicks to Growlytics.

<mark style="color:green;">`POST`</mark> `https://cts.growlytics.in/custom-connector/production/<api-key>`

#### Request Body

| Name                                     | Type   | Description                                                          |
| ---------------------------------------- | ------ | -------------------------------------------------------------------- |
| token<mark style="color:red;">\*</mark>  | String | Growlytics token which you might have received on your api endpoint. |
| action<mark style="color:red;">\*</mark> | String | Allowed: open, click.                                                |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.growlytics.in/webhooks/connector-webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
