Skip to content

Create Form

POST
/admin/forms
curl --request POST \
--url http://localhost:9000/admin/forms \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "handle": "example", "description": "example", "active": true, "turnstile_enabled": true, "notification_emails": [ "example" ], "metadata": {}, "form_fields": [ "example" ] }'
Media type application/json
object
name
required
string
handle
required
string
description
string
nullable
active
boolean
turnstile_enabled
boolean
notification_emails
Array<string>
nullable
metadata
object
key
additional properties
any
form_fields
Array<string>
Example generated
{
"name": "example",
"handle": "example",
"description": "example",
"active": true,
"turnstile_enabled": true,
"notification_emails": [
"example"
],
"metadata": {},
"form_fields": [
"example"
]
}

OK

Media type application/json
object
Example generated
{}