Fansly For You posts
Upload a video, set who can open it, and post it to For You on your own Fansly page — every step by API.
Everything here runs on your own connected Fansly page with a key that has Allow changes (write). Each step
is a platform write: send an Idempotency-Key, get 202 with data.write_id, and poll
GET /v1/writes/{write_id} until state is succeeded. Its result holds what Fansly answered. A queued write
the engine has not started within 15 minutes expires; send it again with a new key.
The page's post and file writes must be on in its Settings (409 account_writes_disabled otherwise).
1. Start the upload
curl https://app.tease.club/v1/accounts/$PAGE/media/upload \
-H "Authorization: Bearer al_live_…" -H "Idempotency-Key: up-1" \
-d '{"fileName": "clip.mp4", "fileSize": 48213504, "mimeType": "video/mp4"}'The finished write's result.response.response has the upload id, type (1 photo, 2 video, 3 audio),
partSize and parts[], one uploadUrl per part (index from 0).
2. Send the parts
PUT each partSize slice of the file to its uploadUrl yourself and keep the ETag header of each answer.
The bytes go straight to Fansly's storage; Tease never holds the file.
3. Finish the upload
curl https://app.tease.club/v1/accounts/$PAGE/vault/media \
-H "Authorization: Bearer al_live_…" -H "Idempotency-Key: done-1" \
-d '{"id": "<upload id>", "type": 2, "partSize": 20971520,
"parts": [{"index": 0, "eTag": "\"…\""}]}'The write ends once Fansly has processed the file; result.response.response.media.id is the vault media id.
4. Make it account media and set who can open it
curl https://app.tease.club/v1/accounts/$PAGE/account-media \
-H "Authorization: Bearer al_live_…" -H "Idempotency-Key: am-1" \
-d '{"mediaIds": ["<vault media id>"], "preview_media_id": "<a second vault media id>",
"access": [{"price_cents": 999}, {"tier_id": "<subscription tier id>"}]}'- No
accessand noprice_cents: free to everyone who sees the post. price_centsalone (10–50000): a paid file.access: ways to open the file, any one is enough. A way is{"price_cents": …}(a price is a way of its own),{"follow": true},{"subscribe": true}or{"tier_id": "…"},{"list_id": "…"}; several conditions in one way are all needed ({"follow": true, "list_id": "…"}).preview_media_id: what a fan sees before the file is open (one file per call). For You shows the preview of a paid file.
Each item of result.response.response[] has the account media id the post attaches.
5. Post it
curl https://app.tease.club/v1/accounts/$PAGE/posts \
-H "Authorization: Bearer al_live_…" -H "Idempotency-Key: post-1" \
-d '{"text": "New today #fyp", "mediaFiles": ["<account media id>"],
"wallIds": ["<FYP wall id>"], "scheduledFor": 1796000000000, "expiresAt": 1796600000000}'| Field | Meaning |
|---|---|
text | The caption; may be empty when the post has mediaFiles or mediaBundles. |
mediaFiles | Account media ids, in order. |
mediaBundles | Bundle ids (below), attached after the files. |
fypFlags | 0 plain, 2 promote to For You, 4 never promote. Left out, it is 2 when the text has #fyp, as in the Fansly app. |
wallIds | The walls the post goes on. Left out, Fansly puts it on the page's default wall. |
pinWallIds | Walls (among wallIds) it is pinned on. |
pinned | 1 pins it on the profile. |
scheduledFor | Unix time in milliseconds: Fansly publishes it then. |
expiresAt | Unix time in milliseconds: Fansly removes it then. |
Seconds instead of milliseconds, an unknown flag, a pin off the post's walls, or a price or replies on the post
are 422 invalid_body: a price belongs to the account media or the bundle. Editing a post is not available.
What For You takes
Fansly promotes a post to For You only when it has at least one video (not a GIF) a fan can see — the file
itself when it is free, its preview otherwise — and either the page's posts are open to everyone or the text has
#fyp. Hashtags (#word) in the text are how For You files it.
Bundles
Two or more vault files sold together:
curl https://app.tease.club/v1/accounts/$PAGE/account-media-bundles \
-H "Authorization: Bearer al_live_…" -H "Idempotency-Key: set-1" \
-d '{"mediaIds": ["<vault media id>", "<vault media id>"], "price_cents": 1999}'It takes price_cents or access as account media does; result.response.response.accountMediaBundles[0].id is the
bundle id a post's mediaBundles take.
For You reach of a post
GET /v1/accounts/{id}/posts/{post_id}/fyp gives each file of a stored post (a bundle's files in its place) with its
For You views and watch time in Fansly's latest window, in_top: false and no numbers for a file outside its top 50,
and the post's sums (null when none of its files is in the top).
Walls and the For You wall
GET /v1/accounts/{id}/walls lists the page's walls with private, mainWall, defaultWall and metadata.
The Fansly app's «FYP only» posts to the For You wall: a private wall that is not the main wall, with
metadata {"fypWall":1} (or, on older pages, named «FYP»). A post only on private walls is seen in For You and
not on the profile.
No For You wall yet? Create one:
curl https://app.tease.club/v1/accounts/$PAGE/walls \
-H "Authorization: Bearer al_live_…" -H "Idempotency-Key: wall-1" \
-d '{"name": "FYP", "private": true, "fyp_wall": true}'name is at most 32 characters; fyp_wall needs private.
Many posts
There is no batch call: send each post as its own write with its own Idempotency-Key. Repeating a key is safe — it
returns the same write. Writes to one page go out one after another at the page's pace.