Render a suspension page as typed, without saving it
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/suspension-page/previewRender a suspension page as typed, without saving it
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
brand_namestring optional- max length 80
logo_urlstring optionalhttps only
support_urlstring optionalhttps only
support_emailstring optionaltitle_vistring optional- max length 120
message_vistring optional- max length 2000
title_enstring optional- max length 120
message_enstring optional- max length 2000
retry_minutesinteger optionalRetry-After; 0 is 60
- minimum 0
- maximum 10080
resetboolean optionalGo back to the defaults
Example
{
"brand_name": "string",
"logo_url": "string",
"support_url": "string",
"support_email": "string",
"title_vi": "string",
"message_vi": "string",
"title_en": "string",
"message_en": "string",
"retry_minutes": 0,
"reset": true
}Responses
200 The page's HTML
Content type: application/json
object
htmlstring required
Example
{
"html": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required