Agent Tools 5 credits COMPUTE

Webhook Send API

Send HTTP POST requests to any URL with any JSON payload via REST API. AI agents cannot make outbound HTTP calls natively — this API bridges that gap, allowing agents to trigger Zapier zaps, notify Slack via webhooks, update external systems, or call any REST API.

Try it live →

How it works

POST the target URL, payload, and optional headers. The API makes an HTTP POST request to the target, waits for a response, and returns the HTTP status code, response headers, and response body. Supports custom headers for authentication.

Use cases

API Reference

POST https://slopshop.gg/v1/webhook-send
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Input parameters

ParameterTypeRequiredDescription
input string | object required The input data to process

Example response

{
  "data": {
    "result": "success",
    "processed": true
  },
  "meta": {
    "credits_used": 5,
    "engine": "real",
    "ms": 4
  }
}

Examples

Three real-world scenarios showing how developers use Webhook Send in production.

Example 1
Trigger Zapier automation
Send an agent result to a Zapier webhook to update a Google Sheet.
curl -X POST https://slopshop.gg/v1/webhook-send \
  -H "Authorization: Bearer $SLOPSHOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://hooks.zapier.com/hooks/catch/12345/abcdef", "payload": {"user": "alice@example.com", "action": "signup", "plan": "pro"}}'
Example 2
Send Slack notification
Post a message to a Slack channel when an agent task completes.
curl -X POST https://slopshop.gg/v1/webhook-send \
  -H "Authorization: Bearer $SLOPSHOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXX", "payload": {"text": "Agent completed: Report generated for Q3 2024. 142 records processed."}}'
Example 3
Update external CRM
Send enriched lead data to a CRM via its REST API after processing.
curl -X POST https://slopshop.gg/v1/webhook-send \
  -H "Authorization: Bearer $SLOPSHOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://api.hubspot.com/crm/v3/objects/contacts", "payload": {"properties": {"email": "lead@company.com", "firstname": "John"}}, "headers": {"Authorization": "Bearer hspot-token"}}'

Code examples

curl

curl -X POST https://slopshop.gg/v1/webhook-send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input": "your data here"}'

Python

import requests

response = requests.post(
    "https://slopshop.gg/v1/webhook-send",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"input": "your data here"}
)
result = response.json()
print(result["data"])

Node.js

const response = await fetch("https://slopshop.gg/v1/webhook-send", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({ input: "your data here" })
});
const { data } = await response.json();
console.log(data);

CLI

# Install the Slopshop CLI
npm install -g slopshop

# Set your API key
export SLOPSHOP_KEY=your_api_key

# Call webhook-send
slop webhook-send '{"input": "your data here"}'

Pricing

Credits per call
5
credits
Cost per call
$0.005
at Starter tier
Tier
COMPUTE
Pure compute

Credits are purchased in bundles starting at $1 for 1,000 credits. All compute APIs like this one use 5 credits per call — that's $0.005. See all pricing tiers.

Related APIs in Agent Tools

View the full API catalog · Try in playground · Documentation