Sentway accepts a complete HTML document as page source and serves it unchanged apart from injecting the Sentway SDK script. Sentway applies no styling, no wrapper markup and no layout of its own, so a page looks exactly as its author wrote it.
Set page_type to html and put the full document in source, including the doctype, head and body. Inline CSS and inline script tags are preserved. External stylesheets and fonts load normally from the visitor's browser.
Maximum source size is 500 KB per page. Images and PDFs are uploaded separately as assets and referenced by URL.
A standard HTML form is captured automatically. Give every input a name attribute, because the name is the field label that appears in the Sentway dashboard, in notification emails and in the get_submissions tool response. Radio groups record the value of the checked input. Checkbox groups record every ticked value.
A minimal page with one captured form:
<!doctype html>
<html lang="en">
<head><meta charset="utf-8" /><title>Book a call</title></head>
<body>
<h1>Book a call</h1>
<form>
<label>Your email <input type="email" name="email" required /></label>
<label>What do you need? <textarea name="brief"></textarea></label>
<button type="submit">Send</button>
</form>
</body>
</html>