POST
/
forms

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
blocks
object[]
required
status
enum<string>
required

Initial status of the form

Available options:
BLANK,
DRAFT,
PUBLISHED,
DELETED
settings
object
templateId
string

ID of the template to base the form on

workspaceId
string

ID of the workspace to create the form in. If not provided, uses the user's default workspace

Response

201 - application/json
createdAt
string
required
id
string
required
isClosed
boolean
required
name
string
required
numberOfSubmissions
number
required
status
enum<string>
required
Available options:
BLANK,
DRAFT,
PUBLISHED,
DELETED
updatedAt
string
required
workspaceId
string
required
payments
object[]