Skip to main content
POST
Create FormPage
A form page (FormPage) is a location-specific set of questions that administrators can send to customers or publish online for completion. Submissions can add customers to a CRM stage and create a task for a responsible user.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the FormPage-Create role.

Request Body

Required Fields

integer
required
ID of the location that owns this form page; the Admin Tool normally supplies it from the current location context.
string
required
Required name used by administrators to identify this form page.
string
required
Required free-text description explaining the purpose of this form.

Optional Fields

boolean
Whether this form is active and available for use.
integer
ID of the optional CRM board column that receives customers when they submit this form.
integer
ID of the optional user assigned an email-notified customer task when this form is submitted.

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the formpage was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response