Skip to main content
POST
https://scrape.st
/
webhook
curl -X POST https://scrape.st/webhook \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{ "url": "https://your-webhook.com/endpoint" }'
{
  "message": "Webhook registered successfully"
}
Register a new webhook URL to receive tweet notifications.
This endpoint requires authentication. You must provide the x-api-key header.
x-api-key
string
required
Your unique API key.

Body Parameters

url
string
required
The URL where notifications should be sent. Note: Registering a webhook overwrites any previously registered webhook for this API key.

Error Responses

{
  "message": "Webhook registered successfully"
}
curl -X POST https://scrape.st/webhook \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{ "url": "https://your-webhook.com/endpoint" }'