What You Can Build
- Content Schedulers: Plan and queue posts for optimal times
- Cross-Platform Publishing: Sync content across multiple accounts
- Content Management Systems: Organize, tag, and track post performance
- Story Automation: Auto-post stories and manage ephemeral content
Quick Example
Create a new post:Common Operations
List Posts
Get posts from a user (useme for your own account):
Get Post Details
Schedule a Post
Create a post to be published later:Create PPV Post
Post with pay-per-view pricing:Edit a Post
Delete a Post
API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/v2/access/posts | POST | Create a new post |
/v2/access/posts/{postId} | GET | Get post details |
/v2/access/posts/{postId} | PUT | Edit a post |
/v2/access/posts/{postId} | DELETE | Delete a post |
/v2/access/users/{userId}/posts | GET | List user’s posts |
Full API Reference
See complete endpoint documentation
Query Parameters
List Posts Query
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | number | 10 | Results per page (1-10) |
sortBy | string | ”publish_date” | Sort by: publish_date, tips, favorites_count |
sortDirection | string | ”desc” | Sort direction: asc, desc |
pinned | boolean | false | Include pinned posts only |
includePostCounts | boolean | false | Include engagement counters |
beforePublishTime | string | - | Pagination cursor (ISO date) |
Create Post Options
| Field | Type | Description |
|---|---|---|
text | string | Post caption (supports markdown) |
mediaItems | (number|string)[] | Media references (see mediaItems reference) |
price | number | PPV price (200, optional) |
isLockedText | boolean | Lock text behind paywall |
previewMediaCount | number | How many mediaItems are previews. Uses the first N items from left to right. |
scheduledDate | string | ISO date for scheduled posting |
expireAfter | number | Days until post expires (1-30) |
fundRaisingTargetAmount | number | Fundraising goal (min $10) |
fundRaisingTipsPresets | number[] | Tip amount presets (max 4) |
For all accepted
mediaItems values and validation rules, see the mediaItems reference.Post Data Structure
Each post object includes:Tips & Best Practices
Scheduling: Scheduled posts are stored in OnlyFans’ queue. Use
scheduledDate as an ISO 8601 date string.Related Guides
Media & Vault
Upload media before creating posts
Messaging & Chats
Share content via direct messages