POST
/
webhooks
/
{id}
/
url
curl -X POST https://api.stableyard.fi/v2/webhooks/wh_abc123/url \
  -H "Authorization: Bearer sy_secret_*" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://new-endpoint.com/webhooks"
  }'
{
  "object": "webhook",
  "id": "wh_abc123",
  "url": "https://new-endpoint.com/webhooks",
  "requestId": "req_abc123"
}
Update the delivery URL for an existing webhook endpoint. Auth: sy_secret_*
id
string
required
Webhook ID
url
string
required
New HTTPS URL for the webhook
curl -X POST https://api.stableyard.fi/v2/webhooks/wh_abc123/url \
  -H "Authorization: Bearer sy_secret_*" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://new-endpoint.com/webhooks"
  }'
{
  "object": "webhook",
  "id": "wh_abc123",
  "url": "https://new-endpoint.com/webhooks",
  "requestId": "req_abc123"
}