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
- Trigger Zapier or Make.com automations from an AI agent workflow
- Send Slack or Discord notifications when an agent completes a task
- Update a CRM or project management tool at the end of a workflow
- Call any REST API from an agent that cannot make outbound requests directly
API Reference
POST https://slopshop.gg/v1/webhook-send
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Input parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
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.
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"}}'
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."}}'
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 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