Skip to main content
POST
Error

Authorizations

X-LeaderOS-Key
string
header
required

Public key from Dashboard → Settings → Headless (pk_live_...).

Authorization
string
header
required

User token from POST /auth/login or /auth/register.

Path Parameters

postId
integer
required

Post id

Body

application/json
message
string
required
captchaToken
string

Cloudflare Turnstile token. Required when config.captcha.pages.<page> is true.

Response

Created

success
boolean
required
data
object
required
message
string