API Keys
Connect OnlyFans Account
Mass Messaging
Media Vault
Media Vault Lists
Payouts
Post Comments
Post Labels
Posts
Public Profiles
Saved For Later (Messages)
Saved For Later (Posts)
Statistics / Reach
Statistics / Statements
Tracking Links
Transactions
Users
Posts
Update Post
Update a posted, queued, or “saved for later” post.
PUT
/
api
/
{account}
/
posts
/
{post_id}
Copy
curl --request PUT \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"text": "Hello!",
"labelIds": [
123
],
"mediaFiles": [
"mfu_abc123",
"1234567890"
],
"rfTag": [
123
],
"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"
],
"votingCorrectIndex": 0
}'
Copy
""
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Body
application/json
Response
200 - text/plain
Success
The response is of type string
.
Example:
""
Copy
curl --request PUT \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"text": "Hello!",
"labelIds": [
123
],
"mediaFiles": [
"mfu_abc123",
"1234567890"
],
"rfTag": [
123
],
"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"
],
"votingCorrectIndex": 0
}'
Copy
""
Assistant
Responses are generated using AI and may contain mistakes.