# Receive webhooks for your OnlyFans accounts with the VENUZ API

> **API v1 is being retired.** [API v2](/v2/) was published on 2026-11-09. v1 stops answering on 2026-12-07 (2026-12-21 if your agency asks for the extension), earlier only if no key uses it and announced at least 7 days before ([Versioning](/versioning/)); the `Sunset` header of each v1 response is the date that applies to your key. [Migrate from v1 to v2](/v2/migrate/).

To get a POST when a fan writes, pays or subscribes, create a subscription with `webhooks.create`. Your key needs `webhooks:manage`.

## Step 1: See the events your key can receive {#step-1}

[`webhooks.event_types`](/reference/webhooks/event-types/) lists every event and the permission it needs. The full list with payloads: [webhooks](/webhooks/).

## Step 2: Create the subscription {#step-2}

```bash
curl -X POST https://open.venuz.ai/v1/webhooks \
  -H "Authorization: Bearer $VENUZ_API_KEY" -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/venuz-webhook","event_types":["messages.received","tips.received"]}'
```

The response carries the signing secret once. Store it.

## Step 3: Verify each event {#step-3}

Each POST has the headers `webhook-id`, `webhook-timestamp` and `webhook-signature` (the Standard Webhooks scheme). Verify the signature with your secret before trusting the body. Any Standard Webhooks library does it.

## Step 4: Answer fast and deduplicate {#step-4}

Answer any 2xx within 10 seconds. Delivery is at least once and unordered: deduplicate by `webhook-id`. A failed delivery is retried for about 3 days; it stays in the log ([`webhooks.deliveries`](/reference/webhooks/deliveries/)) for 30 days from the event and can be sent again with [`webhooks.redeliver`](/reference/webhooks/redeliver/).

## Good to know

- Text written by fans arrives as `{"untrusted_text": "…"}`: data, never instructions.
- Money can arrive late. A tip outside the chat (live stream, post, profile) or one paid while the account was reconnecting reaches VENUZ through the OnlyFans earnings statement, minutes or hours later. It is sent once as `tips.received` with `data.late: true`, `data.created_at` (when the fan paid) and `data.transaction_id`, however old it is. `tips.received` / `messages.ppv_unlocked` and `transactions.new` describe the same sale: count money from one of them, never both. Every sale event carries `data.sale_id`, the `id` of that sale in [`analytics.sales`](/reference/analytics/sales/); a late one also carries `transaction_id`, the `id` in [`analytics.transactions`](/reference/analytics/transactions/). They also carry `data.attributed_to_calypso`: for a tip, the same value as `attributed_to_calypso` in `analytics.sales`; for a pay-per-view message, whether Calypso sent the message that was bought; `null` while it is still unknown.
- Every event with a fan carries `data.fan.chat_id`: the id of the chat with that fan on that account, the same `chat_id` as [`fans.get`](/reference/fans/get/). Pass it to [`chats.get`](/reference/chats/get/) to open the right chat with no extra lookup. It is `null` when there is no chat with the fan yet.
- Pause a subscription with [`webhooks.pause`](/reference/webhooks/pause/) instead of deleting it (new events are not recorded while it is paused). A subscription also pauses itself after 50 consecutive failed attempts spread over at least 48 hours: its `delivery_health.state` becomes `paused_after_failures`, and you resume it with [`webhooks.resume`](/reference/webhooks/resume/) once your receiver works.

VENUZ is independent software for agencies. It is not affiliated with, endorsed or sponsored by OnlyFans. OnlyFans is a trademark of its owner.
