Webhooks
Webhook subscriptions let you receive real-time notifications when new people of interest are discovered. This is primarily used by the Zapier integration but can be used by any system that accepts webhook payloads. When a sync completes, Catch The Good Ones sends a POST request to each registered webhook URL with the newly discovered people.Subscribe
Register a webhook URL to receive notifications.Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer ctgo_your_api_key_here |
Content-Type | Yes | application/json |
Body
| Field | Type | Required | Description |
|---|---|---|---|
targetUrl | string | Yes | The URL to receive webhook POST requests |
filterConfig | object | No | Optional filters to narrow which discoveries trigger the webhook |
filterConfig.trackedAccountId | integer | No | Only send discoveries from this tracked account |
filterConfig.savedSearchId | integer | No | Only send discoveries matching this saved search |
filterConfig.sourceType | string | No | "follower" or "liker" |
filterConfig.feedbackStatus | string | No | "good" or "bad" |
filterConfig.matchConfidence | string | No | "full" or "maybe" |
Example
Response
Notes
- Subscribing the same URL twice updates the filter config (idempotent).
- Different URLs can have different filter configs, so you can set up multiple Zaps with different filters.
Unsubscribe
Remove a webhook subscription.Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer ctgo_your_api_key_here |
Content-Type | Yes | application/json |
Body
| Field | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The subscription ID returned from the subscribe endpoint |