Skip to main content
POST
Create status page draft

Restrictions

Usage

  • The draft payload is stored verbatim (up to 64 KB); the console publish form reads it back to prefill the event.
  • draft.page_id must be a page of the caller’s account, every component in draft.affected_components must exist on it, and a draft.change_id greater than 0 must be an event of the same type.
  • Publish the draft by passing draft_id to POST /status-page/change/create (new event) or POST /status-page/change/timeline/create (update to draft.change_id); a draft can be published only once.
  • A draft is deleted 30 days after creation, whether or not it was published.
  • Every call is recorded in the account audit log. Don’t put secrets in request fields.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Parameters for storing a status page draft. The draft payload is stored verbatim; only the validated fields listed below are interpreted.

draft
object
required

Draft payload, stored verbatim (at most 64 KB serialized). The server validates the fields below and keeps any other fields unchanged for the console.

source
string

Free-form text recording where the draft came from, such as an AI session reference; stored and shown with the draft, not interpreted. Up to 64 characters.

Maximum string length: 64

Response

Success

Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object

Result of storing a status page draft.