Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Path Parameters
The Account ID
Body
The post text content
"Hello!"
Array of OF label IDs. Refer to our /posts/labels
endpoint.
[123]
Array of OFAPI ofapi_media_
IDs, or OF media IDs
["ofapi_media_abc123", "1234567890"]
Array OnlyFans creator user IDs to tag in your post
[123]
Number of days after which the post will expire. Can be 1, 3, 7 or 30 days. Keep empty for no expiration.
3
Schedule your post in the future (UTC timezone).
"2025-01-01T00:00:00.000Z"
Add your post to the "Saved for later" queue.
true
Add a fundraising target to your post. If present, value must be at least 10.
30
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
.
[5, 10, 15]
Include a poll or quiz within your post.
poll
, quiz
"poll"
The due date (in days) of your poll/quiz. Can be 1, 3, 7 or 30 days. Can only be filled with votingType
.
3
The options of your poll/quiz. Required with votingType
.
["First option", "Second option"]
The array key of your quiz' correct answer. Required when votingType
is "quiz". Keep in mind that arrays start at 0
0