Skip to main content
POST
Create Form

Authorizations

X-API-Key
string
header
required

API key obtained from your GeniusForms dashboard

Body

application/json
title
string
required
Example:

"Customer Feedback"

description
string
Example:

"Help us improve our service"

displayMode
enum<string>
default:single-page
Available options:
single-page,
multi-step
questions
object[]

Response

Form created

id
integer
Example:

208

title
string
Example:

"Customer Feedback"

description
string
Example:

"Help us improve our service"

isPublished
boolean
Example:

false

shareUrl
string
Example:

"abc123xyz"

url
string
Example:

"https://geniusforms.ai/f/abc123xyz"

displayMode
enum<string>
Available options:
single-page,
multi-step
Example:

"single-page"

createdAt
string<date-time>
publishedAt
string<date-time> | null
webhook
object

Webhook configuration for the form

questions
object[]