Skip to content

createForm

POST
/api/v1/forms
curl --request POST \
--url https://example.com/api/v1/forms \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "description": "example", "draftSchema": {} }'

Creates a Form Data Source (a Data Source provider). The server publishes the supplied draft schema as the form’s first immutable revision and the creator becomes its manager. Requires the editor+ global role.

Media typeapplication/json
object
name
required
string
description
string
draftSchema
required
object
Examplegenerated
{
"name": "example",
"description": "example",
"draftSchema": {}
}

Form Data Source created with its first published revision

Name, description, or schema rejected