Skip to main content
POST
/
forms
Create a new form
curl --request POST \
  --url https://formbase.dev/api/v1/forms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "returnUrl": "<string>"
}
'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

API key in format: Bearer api_xxxxxxxxxxxxx

Body

application/json
title
string
required
Required string length: 1 - 255
description
string
Maximum string length: 1000
returnUrl
string<uri>

Response

Successful response

id
string
required