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

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

Inspection object

Top level

{
  "id": "74d5c338-9828-474f-a383-934196ab121e",
  "name": "Sunshine Appartment - Unit #7",
  "status": "completed",
  "description": "Yearly  property inspection",
  "created_at": "2023-04-05T20:41:42.8660000Z",
  "created_by": {},
  "updated_at": "2023-04-05T20:41:42.8660000Z",
  "updated_by": {},
  "timezone": "Eastern Standard Time|GMT-04:00",
  "custom_fields": [{}],
  "custom_fields_count": 0,
  "team": {},
  "template": {},
  "locations": [{}],
  "shared_with_users": [{}],
  "shared_with_users_count": 0,
  "files": [{}],
  "files_count": 0,
  "data": {}
}
KeyTypeDescription
idStringA unique identifier for the inspection.
nameStringThe name or title of the inspection.
statusStringThe current status of the inspection.
One the the following: in_progress or completed
descriptionStringAdditional information or details about the inspection.
created_atStringThe timestamp when the inspection was created in ISO 8601 date and time format.
created_byObjectInformation about the user who created the inspection.
updated_atStringThe timestamp when the inspection was last updated in ISO 8601 date and time format.
updated_byObjectInformation about the user who last updated the inspection.
timezoneStringThe timezone in which the inspection was conducted.
custom_fieldsArrayAn array of object(s) containing custom fields associated with the inspection.
custom_fields_countNumberThe count of custom fields associated with the inspection.
teamObjectInformation about the team associated with the inspection.
templateObjectInformation about the template used for the inspection.
locationsArrayAn array of object(s) containing location object(s) for the inspection. This information is crucial for verifying the inspection conducting site and generating KYPiT reports.
shared_with_usersArrayAn array of shared user object(s) containing information about the users with whom the inspection has been shared.
shared_with_users_countNumberThe count of users with whom the inspection has been shared.
filesArrayAn array of file object(s) containing information about files associated with the inspection.
files_countNumberThe count of files associated with the inspection.
dataObjectInspection data object (question_responses or posts)

Inspection data object

Top level

{
  "item_type": "question_response",
  "items_count": 1,
  "items": [{}]
}
KeyTypeDescription
item_typeStringSpecifies the type of items contained within the data object.
One of the following: question_responses or posts
items_countNumberThe count of items contained within the items array.
itemsArrayAn array of item object(s) representing individual items or responses of the inspection.

Item object (Inspection Data)

The below object is only for question_responses item_type.

{
  "id": "1e349cac-4bbc-4547-bf66-18ea436e2b4b",
  "template_control_id": "54a5a217-c261-48f5-8c40-8e85631d28b3",
  "path": "Generat Information/Conducted By(Name):",
  "type": "text",
  "label": "Conducted By(Name):",
  "response": {
    "value": "Eric Smith"
  },
  "parent_id": "a7544213-c293-4db3-96e8-3c9b5c946e0c",
  "repeat_section_order": 1,
  "notes": "",
  "file_ids_count": 0,
  "file_ids": [],
  "created_at": "2023-04-05T20:41:42.8660000Z",
  "updated_at": "2023-04-05T20:41:42.8660000Z",
  "created_by": {},
  "updated_by": {}
}
KeyTypeDescription
idStringA unique identifier for the item.
template_control_idStringA unique identifier for the control in the inspection template to which this item corresponds.
pathStringThe path or location within the template where this control is located.
typeStringThe type of control in the inspection template.
One of the following: text, number, radio, checkbox, dropdown, date, media, signature, barcode, checkin, instacount, instructions
labelStringThe label or title of the control (question text).
responseObjectAn object containing the response data for the control.
parent_idStringThe identifier of the parent control if this control is nested within another control.
repeat_section_orderNumberIndicates the order of appearance for controls in a repeated section, if applicable.
notesStringAdditional notes or comments associated with the control.
file_ids_countNumberThe count of file attachments associated with the item.
file_idsArray An array containing the identifiers of the file associated with the item.
created_atStringThe timestamp when the item was created in ISO 8601 date and time format.
updated_atStringThe timestamp when the item was last updated in ISO 8601 date and time format.
created_byObjectInformation about the user who created the item.
updated_byObjectInformation about the user who last updated the item.

Response object

Here type of value is dynamic, it can be a String, Number, or an Array of Strings.

{
  "value": "Eric Smith" //The value of the response provided for the control.
}

User object (General Information only)

{
  "id": "7348c321-8636-453d-a9b2-327ad7c4f5ce",
  "name": "John Doe",
  "email": "[email protected]"
}
KeyTypeDescription
idStringA unique identifier for the user.
nameStringThe name of the user.
emailStringThe email address of the user.

Custom Field object

Note: Currently we only support Custom Reference Id key for the custom fields.

{
  "name": "Custom Reference Id",
  "value": "432443"
}
KeyTypeDescription
nameStringName or Key of the custom field.
valueStringValue of the custom field.

Team object (General Information only)

{
  "id": "7348c321-8636-453d-a9b2-327ad7c4f5ce",
  "name": "Maintenance Team"
}
KeyTypeDescription
idStringA unique identifier for the team.
nameStringName of the team.

Template object (General Information only)

This object only contains general information about the template. For comprehensive details on the complete template object, please refer to Template Object

{
  "id": "5fda16a7-c870-4440-a1ef-1c560c6b65bd",
  "name": "Real Estate Property Inspection"
}
KeyTypeDescription
idStringA unique identifier for the template.
nameStringName of the template.

Location object

{
  "location": "20803 Biscayne Blvd, Aventura, FL 33180, USA",
  "latitude": 25.9685082,
  "longitude": -80.14312
}
KeyTypeDescription
locationStringThe address of the specific location.
latitudeFloatThe latitude coordinate of the location.
longitudeFloatThe longitude coordinate of the location.

Shared User object (General Information only)

{
  "id": "12eb2694-ce8c-4caa-9b3d-130a7ec505c9",
  "name": "Eric Smith",
  "email": "[email protected]",
  "role": "contributor"
}
KeyTypeDescription
idStringA unique identifier for the shared user.
nameStringThe name of the shared user.
emailStringThe email address of the shared user.
roleStringThe role assigned to the shared user within the context of the inspection.
One the the following: viewer, contributor, assignee

File object

Top level

{
  "id": "90a6955f-bdb7-4c2d-a988-f6e614bfa294",
  "name": "Capture_1680727303.jpg",
  "url": "https://bit.ly/3nLsHFw",
  "size": "46245",
  "created_at": "2023-04-05T20:41:42.8660000Z",
  "updated_at": "2023-04-05T20:41:42.8660000Z",
  "type": "image",
  "source": {},
  "created_by": {},
  "updated_by": {}
}
KeyTypeDescription
idStringA unique identifier for the file.
nameStringThe name of the file.
urlStringThe URL where the file can be accessed or downloaded.
sizeLongThe size of the file(in bytes).
created_atStringThe timestamp when the file was created in ISO 8601 date and time format.
updated_atStringThe timestamp when the file was last updated in ISO 8601 date and time format.
typeStringThe type of the file.
One of the following: image, audio, video, instacount, attachment
sourceObjectInformation about the source of the file.
created_byObjectInformation about the user who created the file.
updated_byObjectInformation about the user who last updated the file.

Source object

{
  "platform": "Web App",
  "os": "Mac OS X 10.15.7",
  "type": "captured"
}
KeyTypeDescription
platformStringThe platform from which the file was sourced.
osStringThe operating system used on the platform from which the file was sourced.
typeStringThe type of source.
One of the following: captured or uploaded