WebsitePublisher icon

WebsitePublisher

Build and manage AI-powered websites via WebsitePublisher.ai. Create pages, manage data entities, upload assets, capture leads, configure forms, and execute integrations.

Actions26

Form → Configure

AI-generated

Summary

Configure a contact form on a project page by sending the page slug, field definitions, and optional button, success-message, and notification-email settings. The operation uses a POST request; send all form fields because partial updates are not supported.

Inputs

  • Page Slug (required) — Slug of the page to attach the form to, such as contact.html.
  • Form Fields (JSON) (required) — Array of field definitions. Supported types are text, email, textarea, tel, select, checkbox, and hidden. Defaults to required name, email, and message fields.
  • Submit Button Label — Text shown on the submit button. Defaults to Send Message.
  • Success Message — Message shown after a successful submission. Defaults to “Thank you! We will get back to you shortly.”
  • Notification Email — Email address for form submission notifications. Defaults to an empty string.

Output shape

A single response from the WebsitePublisher API.

The source declares a POST request to configure the form but does not specify the response fields.

Links

Discussion