A custom webhook integration lets your scripts send HTTP requests to any URL — including internal services, private APIs, and tools that aren’t in Script.it’s 600+ integration catalog. You configure an endpoint once, and the AI agent can call it from any script, passing data and reading responses just like any other integration.Documentation Index
Fetch the complete documentation index at: https://docs.script.it/llms.txt
Use this file to discover all available pages before exploring further.
What a custom webhook integration is
Unlike catalog integrations that connect to specific tools, a custom webhook is a generic HTTP outbound connection. You define a URL, optional headers, and authentication details. When a script calls the integration, Script.it sends an HTTP request to that URL with the payload the script provides. The response is returned to the script for further processing. This is useful when you need to connect to:- An internal company API not available in the public catalog
- A service that exposes a REST endpoint but doesn’t have a native Script.it integration
- A custom backend you’ve built yourself
Adding a custom webhook endpoint
Select Custom Webhook
Scroll to the bottom of the integrations page and click Custom Webhook, or search for “webhook” in the search field and select the Custom Webhook option.
Enter the endpoint URL
Paste the full URL of the endpoint you want to call. This must be a publicly reachable HTTPS URL. Script.it will send HTTP requests to this address when the integration is used in a script.
Configure headers and authentication
Add any HTTP headers the endpoint requires. Common uses include:
- Authorization header — for Bearer token or API key authentication.
- Content-Type — Script.it defaults to
application/json, but you can override this if your endpoint expects a different format. - Custom headers — any other headers your API requires, such as
X-API-Keyor version headers.
How the agent uses a custom webhook in scripts
Once you’ve added a custom webhook integration, the AI agent can call it from any script. When you describe an automation that involves your internal API, the agent will recognize the custom webhook integration by name and use it to send requests, pass payloads, and handle responses. For example, if you tell the agent “post the results of this script to our internal reporting API,” it will:- Identify the custom webhook integration for your reporting API.
- Format the script output as a JSON payload.
- Send a POST request to the configured endpoint.
- Optionally use the response in subsequent steps.
Example use case
Suppose your company has an internal API that logs automation activity for compliance purposes. You want every Script.it run that processes orders to post a summary to that endpoint. After adding the endpoint as a custom webhook integration, you can tell the agent: “At the end of the order-processing script, post a summary of what ran to our compliance logging API.” The agent builds the final block to format the summary and call the integration, without you needing to write any HTTP client code.Managing a custom webhook integration
To update or remove a custom webhook:- Go to Settings → Integrations.
- Find the custom webhook by name.
- Click the ··· menu to Edit (update the URL, headers, or auth) or Disconnect (remove the integration entirely).