Update Post
Update a posted, queued, or "saved for later" post.
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
The Account ID
The ID of the post
The post text content
Array of OF label IDs. Refer to our /posts/labels
endpoint.
Array of OFAPI ofapi_media_
IDs, or OF media IDs
Array OnlyFans creator user IDs to tag in your post
Number of days after which the post will expire. Can be 1, 3, 7 or 30 days. Keep empty for no expiration.
Schedule your post in the future (UTC timezone).
Add your post to the "Saved for later" queue.
Add a fundraising target to your post. If present, value must be at least 10.
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
.
Include a poll or quiz within your post.
"poll" | "quiz"
The due date (in days) of your poll/quiz. Can be 1, 3, 7 or 30 days. Can only be filled with votingType
.
The options of your poll/quiz. Required with votingType
.
The array key of your quiz' correct answer. Required when votingType
is "quiz". Keep in mind that arrays start at 0
Response Body
curl -X PUT "https://app.onlyfansapi.com/api/string/posts/0" \
-H "Content-Type: application/json" \
-d '{
"text": "Hello!"
}'
""