# Writes with the VENUZ API — preview, retry and undo

> **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/).

Every write can be previewed with `dry_run=true`, but only a few require it; a retry with the same `Idempotency-Key` header within 24 hours returns the first result instead of repeating the change; and most configuration changes can be undone with `changes.undo` (final ones, and anything that already reached fans, cannot).

## Step 1: Preview, when it is required or you want to see the effect {#step-1}

Add `dry_run=true`. Nothing changes; the response shows what would change and carries a `preview_id`. A preview lasts 15 minutes and works once, and only for the exact same request.

The writes that require it are mostly the ones that are hard to take back or reach fans: mass messages, prices and money, a new OnlyFans username, deletions that cannot be undone, and changes that reach many fans or the whole team at once. Each function's page says whether it requires the preview. This list is generated from the API itself:

The preview is required for 41 of the 151 writes: send them first with `dry_run=true`, then repeat the exact request with its `preview_id`. For the other 110 it is optional: send the real request directly with an `Idempotency-Key`. The 41 that require it:

- [`account_groups.delete`](/reference/account-groups/delete/)
- [`accounts.of_username_update`](/reference/accounts/of-username-update/)
- [`calypso.chats_pin`](/reference/calypso/chats-pin/)
- [`calypso.model`](/reference/calypso/model/)
- [`chats.delete`](/reference/chats/delete/)
- [`chats.mark_all_read`](/reference/chats/mark-all-read/)
- [`customs.cancel`](/reference/customs/cancel/)
- [`customs.mark_delivered`](/reference/customs/mark-delivered/)
- [`links.of_campaigns_delete`](/reference/links/of-campaigns-delete/)
- [`links.trials_delete`](/reference/links/trials-delete/)
- [`links.venuz_delete`](/reference/links/venuz-delete/)
- [`lists.smart_delete`](/reference/lists/smart-delete/)
- [`lists.smart_members`](/reference/lists/smart-members/)
- [`mass.automations_activate`](/reference/mass/automations-activate/)
- [`mass.automations_delete`](/reference/mass/automations-delete/)
- [`mass.queue_publish`](/reference/mass/queue-publish/)
- [`mass.send`](/reference/mass/send/)
- [`messages.send_media`](/reference/messages/send-media/)
- [`pricing.bundles_manage`](/reference/pricing/bundles-manage/)
- [`pricing.promotions_manage`](/reference/pricing/promotions-manage/)
- [`pricing.subscription_set`](/reference/pricing/subscription-set/)
- [`release_forms.attach_request`](/reference/release-forms/attach-request/)
- [`release_forms.link_create`](/reference/release-forms/link-create/)
- [`release_forms.media_tags_refresh`](/reference/release-forms/media-tags-refresh/)
- [`release_forms.media_tags_set`](/reference/release-forms/media-tags-set/)
- [`sets.batch_create`](/reference/sets/batch-create/)
- [`sets.batch_prices`](/reference/sets/batch-prices/)
- [`sets.calypso_arm`](/reference/sets/calypso-arm/)
- [`sets.calypso_disarm`](/reference/sets/calypso-disarm/)
- [`sets.calypso_retry`](/reference/sets/calypso-retry/)
- [`sets.collections_delete`](/reference/sets/collections-delete/)
- [`sets.folders_delete`](/reference/sets/folders-delete/)
- [`sets.prices_manage`](/reference/sets/prices-manage/)
- [`team.invitations_revoke`](/reference/team/invitations-revoke/)
- [`team.roles_delete`](/reference/team/roles-delete/)
- [`team.users_revoke_sessions`](/reference/team/users-revoke-sessions/)
- [`vault.categories_delete`](/reference/vault/categories-delete/)
- [`vault.media_manage`](/reference/vault/media-manage/)
- [`vault.of_delete`](/reference/vault/of-delete/)
- [`vault.of_lists_delete`](/reference/vault/of-lists-delete/)
- [`vault.upload`](/reference/vault/upload/)

## Step 2: Send it once {#step-2}

Send the real request with an `Idempotency-Key` header (required) that you generate (a UUID). If the network fails, retry with the SAME key within 24 hours: you get the original result instead of a second change.

## Step 3: Undo if needed {#step-3}

When a write response carries `change.id` (the configuration writes of the CRM and Calypso areas do; sent messages, posts, webhooks, exports and withdrawal requests do not), [`changes.undo`](/reference/changes/undo/) reverses that change, with the same permission and preview rules. It refuses if the value changed again after your change, and it cannot undo a final change (for example a deleted role) or anything that already reached fans.

## Good to know

- With a test key (`vzk_test_`) every write is a preview: the response is the preview, and a retry with the same `Idempotency-Key` looks the same as the first call. Try idempotency with a live key on a harmless change, such as a nickname with [`accounts.update`](/reference/accounts/update/).
- Writes that reach fans or money have daily limits per key and per account; the full table is below.
- If you get `idempotency_outcome_unknown`, do not retry with a new key: check the state first.
- Vault folders ([`vault.of_lists`](/reference/vault/of-lists/)) come 10 per page because that is the page size OnlyFans itself uses; VENUZ cannot ask for more. Follow `next_cursor`, or search by name with `query`: the same search the OnlyFans website runs, also live and 10 per page. OnlyFans decides what matches (it is not a "contains" match and has no wildcards).
- A file uploaded with [`messages.upload`](/reference/messages/upload/) is for sending with [`messages.send_media`](/reference/messages/send-media/) or for putting in the vault with [`vault.upload`](/reference/vault/upload/): nobody sees it until it is sent, it can be used for 1 hour after the upload, and it is used once, by one of the two.
- [`posts.write`](/reference/posts/write/) publishes a post right now with text, photos and videos of the account's vault (up to 10 videos). A video keeps the cover OnlyFans made from its first frame: a video with a custom cover answers `state_conflict` (reason `video_cover`) and nothing is published; post that one from OnlyFans.
- To schedule a post you choose where it waits. In the account's own OnlyFans calendar: [`posts.write`](/reference/posts/write/) with `scheduled_date` (a whole minute, at least 60 seconds ahead) and `schedule_on: "onlyfans"`; the answer is `published: false` with its `post_id`, the post shows in [`content.queue`](/reference/content/queue/) and OnlyFans publishes it at its time. If, before then, the key is revoked or expires, the API or its writes are turned off for the agency, or VENUZ pauses the API, VENUZ removes it from the OnlyFans calendar (the agency owner is told). A post due in the next few seconds, or already published, is not removed. In VENUZ's own publish queue: [`content.schedule_manage`](/reference/content/schedule-manage/).
- [`posts.pin`](/reference/posts/pin/) pins a post to the top of the profile or unpins it. To see which posts are pinned now, call [`posts.list`](/reference/posts/list/) with `pinned=only`: all of them in one answer, each with `is_pinned: true`. Without it, `posts.list` is the profile feed, which leaves the pinned posts out, as on OnlyFans.

## Daily limits {#daily-limits}

Each counter is named after the function it counts (`messages-send` counts `messages.send`). A limit is per key, per account (all the keys of the account together) and, for a few, per agency; the window is a UTC day unless the cell says otherwise. Past a limit you get `rate_limited` with `Retry-After`. This table is generated from the limits the API enforces.

| Counter | Per key | Per account | Per agency |
| --- | ---: | ---: | ---: |
| `dry-run` | 300,000 / hour | — | — |
| `mass-daily` | 100,000 / UTC day | 1,000 / UTC day | — |
| `messages-send` | 1,000,000 / UTC day | 20,000 / UTC day | — |
| `messages-like` | 500,000 / UTC day | 20,000 / UTC day | — |
| `messages-media` | 500,000 / UTC day | 20,000 / UTC day | — |
| `messages-upload` | 500,000 / UTC day | 20,000 / UTC day | — |
| `vault-upload` | 2,000 / UTC day | 50 / UTC day | — |
| `messages-scheduled` | 200,000 / UTC day | 10,000 / UTC day | — |
| `lists-members` | — | 20,000 / UTC day | — |
| `release-forms-tags` | 10,000 / UTC day | 2,000 / UTC day | — |
| `release-forms-links` | 1,000 / UTC day | 200 / UTC day | — |
| `release-forms-attach` | 5,000 / UTC day | 1,000 / UTC day | — |
| `crm-set-prices` | 5,000 / UTC day | 2,000 / UTC day | — |
| `crm-calypso-enable` | 2,000 / UTC day | 100 / UTC day | — |
| `crm-chat-return` | 100,000 / UTC day | 20,000 / UTC day | — |
| `crm-routing` | 2,000 / UTC day | 200 / UTC day | — |
| `crm-poke-settings` | 2,000 / UTC day | 200 / UTC day | — |
| `crm-mass-automation-activate` | 1,000 / UTC day | 100 / UTC day | — |
| `crm-message-automation-activate` | 2,000 / UTC day | 200 / UTC day | — |
| `crm-auto-follow` | 2,000 / UTC day | 200 / UTC day | — |
| `crm-content-schedule` | 20,000 / UTC day | 2,000 / UTC day | — |
| `crm-sets-remove` | 5,000 / UTC day | 1,000 / UTC day | — |
| `crm-vision` | 2,000 / UTC day | 500 / UTC day | 500 / hour |
| `paridad-content` | 20,000 / UTC day | 2,000 / UTC day | — |
| `paridad-profile` | 1,000 / UTC day | 200 / UTC day | — |
| `paridad-escrituras-pin` | 20,000 / UTC day | 2,000 / UTC day | — |
| `paridad-escrituras-read-all` | 2,000 / UTC day | 200 / UTC day | — |
| `paridad-escrituras-chat-delete` | 5,000 / UTC day | 500 / UTC day | — |
| `paridad-escrituras-vault-delete` | 2,000 / UTC day | 200 / UTC day | — |
| `paridad-username` | 100 / UTC day | 1 / UTC day | — |
| `fans-follow` | 500,000 / UTC day | 20,000 / UTC day | — |
| `fans-follow-minute` | — | 600 / minute | — |
| `fans-moderate` | 20,000 / UTC day | 2,000 / UTC day | — |
| `content-publish` | 100,000 / UTC day | 2,000 / UTC day | — |
| `stories-create` | 50,000 / UTC day | 500 / UTC day | — |
| `mass-generate` | 1,000 / UTC day | 300 / UTC day | 300 / hour |
| `pricing-price` | 1,000 / UTC day | 100 / UTC day | — |
| `pricing-offers` | 2,000 / UTC day | 200 / UTC day | — |
| `withdraw-daily` | 200 / UTC day | 20 / UTC day | — |

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