YouScan Webhook API
Webhooks push new mentions to your own server in real time, so you don't have to poll the API. Every time a new mention is found and saved to a topic, YouScan sends an HTTP `POST` with the mention payload to a URL you control. ### Setup Webhooks are configured in the YouScan UI — there is **no API to create them**. Open a topic's **Settings → Integrations**, click **Add** next to *Webhook*, and enter your destination URL. Full guide: [How to use webhook integration](https://help.youscan.io/en/articles/3371690-how-to-use-webhook-integration). - Set up **per topic** — point several topics at the same URL, or add several webhooks to one topic. - Mentions are sent **automatically** via rule-based alerts, and can also be sent **manually** from the mention stream. - For a protected endpoint, put Basic Auth credentials in the URL: `https://user:password@example.com/callback`. ### Your endpoint Respond with any `2xx` status code within **4 minutes** to acknowledge receipt; any other response — or a timeout — is treated as a failed delivery. Fields with `null` values are omitted from the payload. > Mentions from Reddit, Quora and some smaller sources are not delivered. Twitter mentions > are restricted — text, URL and author details are removed.