Create Webhook Source
Creates a new webhook source for a knowledge base. A webhook source
defines how to fetch content from an external URL or execute a series
of steps to produce content. Requires either steps or url.
Requires knowledge:upload permission.
Documentation Index
Fetch the complete documentation index at: https://docs.naturalead.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer token using an API key (format nl_live_* or nl_test_*)
Path Parameters
Knowledge base ID
Body
Name of the webhook source
Ordered list of steps to execute
Input variables for the step flow
URL to fetch content from
HTTP method for the URL request
HTTP headers for the URL request
Request body for the URL request
Authentication configuration for the URL request
Polling interval in minutes
Request timeout in milliseconds
Response
Created webhook source
Unique identifier
Owning account ID
Parent knowledge base ID
Webhook source name
Whether the webhook source is active
Ordered list of execution steps
Input variables for the step flow
URL to fetch content from
HTTP method
HTTP headers
Request body
Authentication configuration
Polling interval in minutes
Request timeout in milliseconds
Timestamp of the last trigger