Docs

Type a word or a question. Esc closes the search.

Sign in Start free

Create an incident status draft

Saves a draft of a status page post for the incident and returns the link where a person reviews and publishes it. A second draft for the same status page replaces the first. Nothing is published and no subscriber is notified.

POST https://app.upfour.io/v1/incidents/{incidentID}/status-drafts
POST https://app.upfour.io/v1/incidents/{incidentID}/status-drafts

A real request. Sending it changes data in your upfour account.

Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs status_page.draft.write.
Path
Body
More fields1

2 more fields are only available in JSON.

Headers

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope status_page.draft.write stable Idempotency-Key supported returns 201

Parameters

FieldTypeDescription
incidentID required uuid path parameter

Body

application/json optional 6 fields

bodystringrequired

The text of the post, up to 10000 characters.

statestringrequired

investigating, identified, monitoring or resolved.

status_page_iduuidrequired

The status page the draft is for: a page of the incident's Company and Client.

All other fields5 fields
component_idsuuid[]

Components (resources) of that page the post names; empty for the incident's own components.

originStatusDraftOrigin

Who wrote it. Through an API key the kind is always agent; the name labels the assistant or script.

Nested fields 2 fields
FieldTypeDescription
kind optional string
name optional string
titlestring

Optional; a person can set it when publishing. Without it upfour uses the automatic report's title.

Returns

A successful request returns 201 with application/json.

Response fields 1 top-level fields
FieldTypeDescription
data StatusDraftCreatedResponse
StatusDraftCreatedResponse · 18 fields
FieldTypeDescription
body string
component_ids uuid[] · nullable
component_names string[] · nullable
created_at string (date-time)
id uuid
incident_id uuid
joins_existing_thread boolean The incident already has a thread on this page; publishing adds a post to it instead of opening a new thread.
origin_kind string agent (written through an API key) or member (written in the app).
origin_name string
publish_url string Link into the app that opens the incident with this draft ready to publish. Nothing is public until a person publishes it there.
state string
status_page_id uuid
status_page_name string
title string
updated_at string (date-time)
client_id uuid The client the status page belongs to; absent for a Company-level page.
replaced boolean On create only: true when this call replaced an earlier open draft for the same incident and page.
status_page_update_id uuid

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
404 not_found The requested resource does not exist or is outside the caller's scope.
403 permission_denied The credentials do not permit this action.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.