API Reference

This API provides a variety of interfaces for working with your template data.

You should have the API Key while retrieving or updating your data. Without these API keys, you cannot access your templates.

Template Object

Top Level

{
  "id": "5fda16a7-c870-4440-a1ef-1c560c6b65bd",
  "name": "Real Estate Property Inspection",
  "description": "Renters can use this template to inspect the property and collect data on the status of the property.",
  "created_at": "2023-04-05T20:41:42.8660000Z",
  "created_by": {},
  "updated_at": "2023-04-05T20:41:42.8660000Z",
  "updated_by": {},
  "team": {},
  "data": {}
}
KeyTypeDescription
idStringA unique identifier for the template.
nameStringThe name of the template.
descriptionStringAdditional information or details about the template.
created_atStringThe date and time the template was created in ISO 8601 date and time format.
created_byObjectGeneral information about the user who created the template.
updated_atStringThe date and time the template was last updated in ISO 8601 date and time format.
updated_byObjectGeneral information about the user who last updated the template.
teamObjectGeneral information about the team associated with the template.
dataObjectTemplate data object (template controls)

Template data

{
  "control_count": 6,
  "controls": [{}]
}
KeyTypeDescription
controlsArrayThe count of controls present in the template.
control_countNumberAn array of control object(s) representing individual control within the template.

Control object

{
  "id": "54a5a217-c261-48f5-8c40-8e85631d28b3",
  "type": "text",
  "path": "This is page 1/Section 1/",
  "label": "Name of reporter?",
  "children_count": 0,
  "children": [],
  "parent_id": "a7544213-c293-4db3-96e8-3c9b5c946e0c",
  "options": {}
}
KeyTypeDescription
idStringA unique identifier for the control.
typeStringThe type of control.
One of the following: page, section, text, number, radio, checkbox, dropdown, date, media, signature, barcode, checkin, instacount, instructions
pathStringThe path or location within the template where this control is located.
labelStringThe label or title of the control.
children_countNumberThe count of child controls nested within this control.
childrenArrayAn array of control identifiers representing individual child controls nested within this control.
parent_idStringThe identifier of the parent control if this control is nested within another control.
optionsObjectAdditional configurations or details specific to the control type. To understand the options object refer to control options.

Control options

The control options object will include only fields relevant to the specific type of control. Below are all the possible options.

KeyTypeDescription
placeholderStringA placeholder text that provides a hint or example of the expected input.
is_requiredBooleanA boolean value indicating whether the control is required.
show_mediaBooleanA boolean value indicating whether media attachments can be added to the control.
show_notesBooleanA boolean value indicating whether additional notes or comments can be added to the control.
allow_upload_photosBooleanA boolean value indicating whether users can upload photos or images as part of the control.
is_multilineBooleanThis option is exclusively available for text control. It indicates whether the control allows multiple lines of text.
data_viewStringThis option is exclusively available for the section control. It determines how the associated data should be displayed in the inspection report.
is_repeatableBooleanThis option is exclusively available for the section control. It indicates whether the control can be repeated or duplicated.
choicesArrayAn array containing predefined choices or responses for the control.
descriptionStringThis option is exclusively available for instruction controls. It contains additional descriptive text or information intended to guide users or provide context within the inspection. Instruction controls typically display this information to users but do not require any input or response from them.
show_timeBooleanThis option is exclusively available for date controls. It indicates whether time selection is enabled for the control.

To understand the available options for a specific control type, please refer to the table below:

Control typeAvailable options
pageNone, the option object will be empty
sectiondata_view and is_repeatable
textplaceholder, is_multiline, is_required, show_media, show_notes, allow_upload_photos
numberplaceholder, is_required, show_media, show_notes, allow_upload_photos
radiochoices, is_required, show_media, show_notes, allow_upload_photos
checkboxchoices, is_required, show_media, show_notes, allow_upload_photos
dropdownchoices, is_required, show_media, show_notes, allow_upload_photos
dateshow_time, is_required, show_media, show_notes, allow_upload_photos
mediais_required, show_notes, allow_upload_photos
signatureplaceholder, is_required
barcodeis_required, show_media, show_notes, allow_upload_photos
checkinis_required, show_media, show_notes, allow_upload_photos
instacountis_required, show_media, show_notes, allow_upload_photos
instructionsdescription