# Webhook Documentation

## Webhook Configuration & Endpoint Setup

To enable webhook notifications, clients are required to provide a **POST API endpoint (URL)** where webhook events will be delivered. Once shared, this endpoint is securely configured in the system to send real-time updates whenever the relevant event occurs.

## Third party creator webhook

This webhook is used to notify when creator insights are successfully generated and available for access.

#### Webhook Payload

<table><thead><tr><th width="145.59765625">Field Name</th><th width="212.84375">Description</th><th width="223.10546875">Possible Values</th><th width="157.015625">Sample Value</th></tr></thead><tbody><tr><td><strong>type</strong></td><td>Identifies the webhook event or insights category</td><td> creator_insights</td><td>creator_insights</td></tr><tr><td><strong>status</strong></td><td>Current processing status of the request</td><td><p>success, </p><p>failed</p></td><td> success</td></tr><tr><td><strong>status_reason</strong></td><td>Reason for failure (applicable only when status is failed)</td><td><p>Restricted/Invalid Profile,</p><p>Private Account,</p><p>Invalid Handle</p></td><td>Invalid Handle</td></tr><tr><td><strong>identifier</strong></td><td>Creator handle or unique creator identifier</td><td>-</td><td>minimuffin8888</td></tr><tr><td><strong>connector</strong></td><td>Platform source from which insights are fetched</td><td><p>instagram, </p><p>youtube, </p><p>tiktok, </p><p>facebook</p></td><td>instagram</td></tr></tbody></table>

## First party creator webhook

This webhook is used to notify when first party creator insights are successfully generated and available for access.

#### Webhook Payload

<table><thead><tr><th width="145.59765625">Field Name</th><th width="205.8359375">Description</th><th width="218.08984375">Possible Values</th><th width="171.85546875">Sample Value</th></tr></thead><tbody><tr><td><strong>type</strong></td><td>Identifies the webhook event or insights category</td><td> creator_insights_1p</td><td>creator_insights_1p</td></tr><tr><td><strong>status</strong></td><td>Current processing status of the request</td><td><p>success, </p><p>failed</p></td><td> success</td></tr><tr><td><strong>status_reason</strong></td><td>Reason for failure (applicable only when status is failed)</td><td><p>Restricted/Invalid Profile,</p><p>Private Account,</p><p>Invalid Handle</p></td><td>Invalid Handle</td></tr><tr><td><strong>identifier</strong></td><td>Creator handle or unique creator identifier</td><td>-</td><td>minimuffin8888</td></tr><tr><td><strong>connector</strong></td><td>Platform source from which insights are fetched</td><td><p>instagram, </p><p>youtube, </p><p>tiktok, </p><p>facebook</p></td><td>instagram</td></tr><tr><td><strong>state</strong></td><td>Unique session state</td><td>-</td><td>-</td></tr></tbody></table>

## Campaign webhook

The webhook payload is sent to notify the client when campaign insights are available.

#### Webhook Payload

<table><thead><tr><th width="154.296875">Field Name</th><th width="166.3046875">Description</th><th width="184.22265625">Possible Values</th><th>Sample Value</th></tr></thead><tbody><tr><td><strong>type</strong></td><td>Identifies the webhook event category</td><td>campaign_insights</td><td>campaign_insights</td></tr><tr><td><strong>campaign_id</strong></td><td>Unique identifier of the campaign</td><td>-</td><td>cmp_102345</td></tr><tr><td><strong>campaign_name</strong></td><td>Name of the campaign</td><td>-</td><td>Summer Launch Campaign</td></tr><tr><td><strong>brand_name</strong></td><td>Brand associated with the campaign</td><td>-</td><td>Nike</td></tr></tbody></table>


---

# 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.ylytic.com/ylytic/webhook/webhook-documentation.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.
