Skip to main content
POST
Mint a publish/unpublish request token
Required scope
  • write:experience — Request that the creator publish or unpublish a fan-facing experience. The app mints a request token; the creator confirms and Fanvue performs the change.

Authorizations

Authorization
string
header
required

OAuth 2.0 access token, presented as a JWT bearer token in the Authorization header. Obtain a token via the authorization-code flow; the scopes granted to the token determine which operations it may call.

Headers

X-Fanvue-API-Version
string
default:2025-06-26
required

API version to use for the request

Example:

"2025-06-26"

Body

application/json
action
enum<string>
required
Available options:
publish
externalExperienceId
string
required
Required string length: 1 - 255
title
string
required
Maximum string length: 100
description
string
required
Maximum string length: 500
proposedAccessMode
enum<string>
required
Available options:
FREE,
SUBSCRIPTION,
PAID,
HIDDEN
deliveryMode
enum<string>
required
Available options:
EMBEDDED,
EXTERNAL
appUuid
string<uuid>
required
imageUrl
string<uri> | null

Public https URL of the experience cover image. Fanvue downloads and re-hosts it when the creator confirms the publish.

Maximum string length: 2048
Example:

"https://example.com/covers/launch-your-page.jpg"

allowedAccessModes
enum<string>[]

Restricts which access modes the creator may choose in the Fanvue confirmation modal. Must contain proposedAccessMode and hold no duplicates. Omit to offer all four modes.

Required array length: 1 - 4 elements
Available options:
FREE,
SUBSCRIPTION,
PAID,
HIDDEN
Example:
proposedActions
object[]

Paid actions to offer inside this experience, for the creator to price when they confirm the publish. At most 10. suggestedPriceCents is a prefill only — the creator sets the amount that is charged, and may decline any action. Omit the field (or send an empty array) to propose none; an app cannot withdraw actions a creator has already priced.

Maximum array length: 10
Example:
proposedExperienceType
enum<string>

What kind of experience this is. Prefills the creator's confirmation modal, where they can change it, and decides how the experience presents itself where it is embedded (for example the category tag on a chat card). Omit for the generic OTHER.

Available options:
LIVE_STREAM,
LIVE_AUDIO,
VIDEO,
AUDIO,
GAME,
CHALLENGE,
QUIZ,
EVENT,
OTHER
Example:

"GAME"

externalUrl
string | null

Response

The minted request token

token
string
required

The opaque request token to forward to the creator surface for confirmation.

Example:

"req_2f1c…"