v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Custom Page Sets

Preview a custom page

Allows to preview a custom page without creating it based on the provided type and data

post/waap/v1/preview-custom-page

Query parameters

page_type'block.html' | 'block_csrf.html' | 'captcha.html' | 'cookieDisabled.html' | 'handshake.html' | 'javascriptDisabled.html' required

The type of the custom page

Request body

logostring nullable

Supported image types are JPEG, PNG and JPG, size is limited to width 450px, height 130px. This should be a base 64 encoding of the full HTML img tag compatible image, with the header included.

headerstring nullable

The text to display in the header of the custom page

titlestring nullable

The text to display in the title of the custom page

textstring nullable

The text to display in the body of the custom page

errorstring nullable

Error message

Response

Successful Response

htmlstring required

HTML content of the custom page