Forms
Configure a form
Create or update a form definition with required fields, submit action, and limits. Use listConfiguredIntegrations first to find services. IMPORTANT: use Safari ITP-proof pattern: store session_id in sessionStorage and send it as X-Session-Id header on the session GET and form submit calls.
post/sapi/project/{projectId}/forms/configure
Request
- Base URL: https://api.websitepublisher.ai
- URL: https://api.websitepublisher.ai/sapi/project/{projectId}/forms/configure
- Auth: OAuth 2 (authorization code, authorization URL https://api.websitepublisher.ai/dapi/oauth/authorize, token URL https://api.websitepublisher.ai/dapi/oauth/token, scopes: read, write)
Path parameters
projectIdinteger required
Request body
Example request
{
"form_name": "contact",
"required_fields": [
"name",
"email",
"message"
]
}Response
Form updated
Changes
No recorded changes to this operation across all 1 revision of this API.