Skip to main content
POST
/
forms
/
{id}
/
publish
Publish Form
curl --request POST \
  --url https://geniusforms.ai/api/v1/forms/{id}/publish \
  --header 'X-API-Key: <api-key>'
{
  "id": 123,
  "isPublished": true,
  "publishedAt": "2023-11-07T05:31:56Z",
  "url": "https://geniusforms.ai/f/abc123xyz"
}

Authorizations

X-API-Key
string
header
required

API key obtained from your GeniusForms dashboard

Path Parameters

id
integer
required

Response

200 - application/json

Form published

id
integer
isPublished
boolean
Example:

true

publishedAt
string<date-time>
url
string
Example:

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