Update webhook

PATCH
https://reloop.sh/api/webhook/v1/:webhook_id

Path Parameters

webhook_idstringRequired

Webhook ID

  • Minimum length: 1

Body Parameters

descriptionstring

Webhook description

  • Minimum length: 1
  • Maximum length: 255
namestring

Webhook name

  • Minimum length: 1
  • Maximum length: 255
urlstring

Webhook URL

secretstring

Webhook secret for HMAC signature verification

  • Minimum length: 8
  • Maximum length: 255
status"active""paused""disabled"

Possible values: active | paused | disabled

customHeadersobject

Custom headers to include in webhook requests

rateLimitEnabledboolean

Enable rate limiting

maxRequestsPerMinutenumber

Maximum requests per minute

  • Minimum value: 1
  • Maximum value: 1000
maxRetriesnumber

Maximum retry attempts

  • Minimum value: 0
  • Maximum value: 10
retryBackoffMultipliernumber

Retry backoff multiplier

  • Minimum value: 1
  • Maximum value: 10
filteringOptionsobject

Event filtering options

const response = await fetch("https://reloop.sh/webhook/v1/wh_123456789", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer rl_123456789",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    status: "paused"
  })
});

const webhook = await response.json();
{
  "id": "wh_123456789",
  "name": "Payments Webhook",
  "url": "https://example.com/webhooks/reloop",
  "secret": "***masked***",
  "status": "active",
  "customHeaders": {
    "x-source": "reloop"
  },
  "rateLimitEnabled": true,
  "maxRequestsPerMinute": 60,
  "maxRetries": 3,
  "retryBackoffMultiplier": 2,
  "filteringOptions": null,
  "lastTriggeredAt": "2026-03-29T10:00:00Z",
  "successCount": 10,
  "failureCount": 1,
  "consecutiveFailures": 0,
  "createdAt": "2026-03-29T10:00:00Z",
  "updatedAt": "2026-03-29T10:00:00Z"
}

Was this page helpful?

Edit this page