Forms
Update a signup form
Update fields, styling, double opt-in behaviour, the confirmation and welcome emails, or active state on an existing form. Only the fields sent change. Request keys are snake_case; the older camelCase keys are still accepted. Requires the form:write scope.
patch/v1/forms/{id}
Request
- Base URL: https://smtpfa.st/api
- URL: https://smtpfa.st/api/v1/forms/{id}
- Auth: HTTP bearer
Path parameters
idstring required
The signup form ID
Request body
Example request
{
"confirmation_email_from": "Acme <hello@acme.com>"
}Response
Form updated
Example response
{
"object": "signup_form",
"id": "clx_form123",
"name": "Newsletter signup",
"fields": [
"email",
"first_name"
],
"button_text": "Subscribe",
"button_color": "#10b981",
"success_message": "Thanks for subscribing!",
"double_opt_in": true,
"captcha_provider": "turnstile",
"block_disposable_emails": true,
"active": true,
"confirmation_email_from": "Acme <hello@acme.com>"
}Changes
No recorded changes to this operation across all 1 revision of this API.