OnlyFans API icon

OnlyFans API

Consume the OnlyFans API

Actions147

Webhooks → Update Webhook

AI-generated

Summary

Update an existing webhook by specifying its ID, setting a new endpoint URL, and choosing which events to subscribe to. Optionally enable or disable the webhook without deleting it.

Inputs

  • The Webhook ID (required) — The webhook ID to update.
  • The URL of Your Webhook Endpoint (required) — The URL of your webhook endpoint to receive events.
  • An Array of Webhook Events to Subscribe To (required) — A comma-separated list of webhook event types to subscribe to, as defined by the List Available Events endpoint.
  • Additional Fields — Optional parameters including whether the webhook is enabled (boolean). Enabling or disabling stops or resumes sending events without deleting the webhook.

Output shape

a single record representing the updated webhook

The operation returns the updated webhook data as a single JSON object. If an error occurs and 'Continue On Fail' is active, an error object is returned instead.

Discussion