Skip to main content
PUT
Replace the welcome message

Authorizations

Authorization
string
header
required

An API key (onx_sk_…) created in OnlyX under Settings → API & MCP, or an OAuth access token (onx_at_…) issued to a connected app. Send it as Authorization: Bearer <credential>. API keys may also be sent as X-API-Key: <key>.

Headers

Idempotency-Key
string

Optional. A unique value (8 to 64 letters, digits, - or _; a UUID is ideal) that makes a retry safe: the same key with the same request within 24 hours returns the stored response, with Idempotent-Replayed: true, instead of doing the work twice. The same key with a different request is 409 IDEMPOTENCY_KEY_REUSED; while the first request still runs it is 409 IDEMPOTENCY_IN_PROGRESS. A malformed key is 400 VALIDATION_ERROR.

Required string length: 8 - 64
Pattern: ^[A-Za-z0-9_-]{8,64}$

Path Parameters

creatorId
string
required

The creator id (cre_…).

Body

application/json

Replaces the whole welcome message.

text
string
required

The message text, up to 2,000 characters.

Maximum string length: 2000
dryRun
boolean
default:false

true checks the change on OnlyFans without saving it. Nothing changes for fans.

enabled
boolean

Switch the welcome message on or off. Leave it out to keep the current switch.

paidMediaIds
string[]

Up to 20 vault ids locked behind priceCents.

Maximum array length: 20
Pattern: ^\d{1,25}$
previewMediaIds
string[]

Up to 20 vault ids sent free.

Maximum array length: 20
Pattern: ^\d{1,25}$
priceCents
integer
default:0

0 to 1000000 cents. A price above 0 needs paidMediaIds.

Required range: 0 <= x <= 1000000

Response

Accepted: the change is queued and will be applied on OnlyFans shortly.

The change is being applied. Read GET …/welcome-message for pending and lastUpdate.

queued
boolean
required

true: the change was accepted and will be applied on OnlyFans shortly.

updateId
string
required

An opaque id for this change.