Posts

Update Post

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

put/api/{account}/posts/{post_id}

Request body

textstring required

The post text content

labelIdsstring

Array of OF label IDs. Refer to our /posts/labels endpoint.

priceinteger

Price for paid content (0 or between 3-100). In case this is not zero, mediaFiles is required

mediaFilesstring

Array of OFAPI ofapi_media_ IDs, or OF media IDs

rfTagstring

Array OnlyFans creator user IDs to tag in your post

expireDaysinteger

Number of days after which the post will expire. Can be 1, 3, 7 or 30 days. Keep empty for no expiration.

scheduledDatestring

Schedule your post in the future (UTC timezone).

saveForLaterboolean

Add your post to the "Saved for later" queue.

fundRaisingTargetAmountinteger

Add a fundraising target to your post. If present, value must be at least 10.

fundRaisingTipsPresetsstring[]

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.

votingDueinteger

The due date (in days) of your poll/quiz. Can be 1, 3, 7 or 30 days. Can only be filled with votingType.

votingOptionsstring[]

The options of your poll/quiz. Required with votingType.

votingCorrectIndexinteger

The array key of your quiz' correct answer. Required when votingType is "quiz". Keep in mind that arrays start at 0

Example request

{
  "text": "Hello!",
  "price": 10,
  "expireDays": 3,
  "scheduledDate": "2025-01-01T00:00:00.000Z",
  "saveForLater": true,
  "fundRaisingTargetAmount": 30,
  "fundRaisingTipsPresets": [
    5,
    10,
    15
  ],
  "votingType": "poll",
  "votingDue": 3,
  "votingOptions": [
    "First option",
    "Second option"
  ]
}

Response

Success

Changes