Docs

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

Sign in Start free

Preview subscriber deliveries

Previews e-mail and webhook deliveries for a status-page update without queueing messages or consuming page limits.

GET https://app.upfour.io/v1/status-pages/{pageID}/mail-preview
GET https://app.upfour.io/v1/status-pages/{pageID}/mail-preview
Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs status_page.read.
Path
Query

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.read stable returns 200

Parameters

FieldTypeDescription
pageID required uuid path parameter
kind required string one ofstartinterimresolution query parameter · The entry about to be published: start (first entry of a new incident or maintenance, also publishing a draft), interim (an update in between) or resolution (resolved, completed, cancelled).
update_id optional uuid query parameter · The thread the entry belongs to. Its type and components win over type and resource_ids. Without it the thread is new and nobody has been mailed about it yet.
type optional string one ofincidentmaintenancereport query parameter · Type of a thread that does not exist yet (default incident).
resource_ids optional string query parameter · Comma-separated affected components of a thread that does not exist yet; empty means all subscribers.

Returns

A successful request returns 200 with application/json.

Response fields 1 top-level fields
FieldTypeDescription
data MailPreview
MailPreview · 28 fields
FieldTypeDescription
billing_paused boolean
email MailPreviewEmail
MailPreviewEmail · 11 fields
FieldTypeDescription
folded integer
groups MailPreviewGroup[] · nullable
Each item · 5 fields
FieldTypeDescription
count integer
earliest string (date-time) · nullable
latest string (date-time) · nullable
outcome string one offoldednot_sent
reason string
immediate integer
next_mail_at string (date-time) · nullable
not_sent integer
recipients integer
generated_at string (date-time)
kind string one ofstartinterimresolution
limits MailPreviewLimits
MailPreviewLimits · 5 fields
FieldTypeDescription
brake_mails integer
brake_window_seconds integer
interim_window_seconds integer
page_burst integer
page_entries_per_hour integer
quota_level string one ofokwarnbundleholdstop
update_id uuid · nullable null when the preview is for a thread that does not exist yet.
update_type string one ofincidentmaintenancereport
webhook MailPreviewWebhook
MailPreviewWebhook · 3 fields
FieldTypeDescription
immediate integer
not_sent integer
recipients integer

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.

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