Skip to main content
Publish the draft revision

Authorizations

Authorization
string
header
required

Every request sends Authorization: Bearer <token>. The token is either a panel session (a JWT from /auth/login, 12 hours) or an API key ft_<id>_<secret>. An API key is accepted only from an address on its IP allowlist (403 ip_not_allowed otherwise; 403 ip_allowlist_required for an old key that has none), is limited to its rate per minute (429 rate_limited with Retry-After; X-RateLimit-Limit/Remaining/Reset on every response), and at most 60 call placements a minute.

Path Parameters

id
string<uuid>
required

Response

Published

Errors block publishing; warnings do not. The same shape is returned either way, so the panel reads one document whether the flow went live or was refused.

draft_revision
integer
required

The new draft, forked from the revision just published.

errors
object[]
required

What stops it publishing; empty when it published.

published
boolean
required

Whether the draft passed validation and is now the published revision.

warnings
object[]
required

Things worth fixing that do not stop it.

error
object

Present only when publishing was refused, so the standard error envelope still applies.

published_revision
integer

The revision now answering calls.