Newscatcher CatchAll icon

Newscatcher CatchAll

Submit and pull CatchAll jobs from Newscatcher

Webhook → Create

AI-generated

Summary

Create a new webhook endpoint in the organization to receive payloads from Newscatcher.

Inputs

  • Name (required) — Human-readable label for this webhook.
  • URL (required) — Destination URL that receives the payload.
  • Type (required) — Webhook target type determining payload format; options are 'generic', 'slack', 'teams', or 'custom'.
  • Delivery Mode (required) — Whether to deliver the entire result set in one call ('full') or send one call per article ('per_record').
  • Method (required) — HTTP method (GET, POST, PUT, PATCH, DELETE) used for delivery.
  • Headers (JSON) — Optional JSON object of custom HTTP headers to forward with each delivery.
  • Params (JSON) — Optional JSON object of query parameters appended to the webhook URL.
  • Auth (JSON) — Optional JSON object for delivery authentication, supporting bearer token, API key, or basic auth.
  • Project ID — Optional project ID to associate the webhook with immediately upon creation.

Output shape

a single record

Returns the created webhook object including its configuration and a masked authentication object if provided.

Examples

Example 1: Create a webhook named 'Layoffs Alert' that sends full payloads via POST to a Slack URL with bearer token auth.

Name='Layoffs Alert'; URL='https://hooks.slack.com/services/T000/B000/xxxx'; Type='slack'; Delivery Mode='full'; Method='POST'; Auth JSON='{"type": "bearer", "token": "abc123"}'.

Links

Discussion