---
title: "Update Post"
method: PUT
path: "/api/{account}/posts/{post_id}"
tags: ["Posts"]
---

# Update Post

`PUT /api/{account}/posts/{post_id}`

Update a posted, queued, or "saved for later" post.

## Request body

- object
  - `text` string, required — The post text content
  - `labelIds` string — Array of OF label IDs. Refer to our `/posts/labels` endpoint.
  - `price` integer — Price for paid content (0 or between 3-100). In case this is not zero, **mediaFiles** is required
  - `mediaFiles` string — Array of OFAPI `ofapi_media_` IDs, or OF media IDs
  - `rfTag` string — Array OnlyFans creator user IDs to tag in your post
  - `expireDays` integer — Number of days after which the post will expire. Between 1 and 30 days. Keep empty for no expiration.
  - `scheduledDate` string — Schedule your post in the future (UTC timezone).
  - `saveForLater` boolean — Add your post to the "Saved for later" queue.
  - `fundRaisingTargetAmount` integer — Add a fundraising target to your post. If present, value must be at least 10.
  - `fundRaisingTipsPresets` string[] — Specify which tip amounts will be listed under the fundraising card. Required with `fundRaisingTargetAmount`, and you must provide at least 1 option. Array items cannot be higher than the `fundRaisingTargetAmount`.
  - `votingType` 'poll' | 'quiz' — Include a poll or quiz within your post.
  - `votingDue` integer — The due date (in days) of your poll/quiz. Can be 1, 3, 7 or 30 days. Can only be filled with `votingType`.
  - `votingOptions` string[] — The options of your poll/quiz. Required with `votingType`.
  - `votingCorrectIndex` integer — The array key of your quiz' correct answer. Required when `votingType` is "quiz". Keep in mind that arrays start at `0`

## Response `200`

Success

---

[API](https://skmtc.net/onlyfansapi/apis/onlyfans-api.md) · [All operations](https://skmtc.net/onlyfansapi/apis/onlyfans-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onlyfansapi/onlyfans-api/revisions/4a99d36f28a3/schema)
