Create an inspection

Query Params
include
array of strings

The top-level result fields to include in the response.

If not set, all fields are included by default. If set, id, created_at, and updated_at are always included as a baseline.

include
Body Params

Request Body for POST /inspections

string

The user to assign the inspection to. Can be either a user ID or an email address.

boolean

Whether the customer info was edited relative to the copied inspection.

number

The ID of the inspection this one was copied from, if applicable.

boolean

Whether the list was edited relative to the copied inspection.

custom_field_values
array of strings

The values for the custom fields defined in the inspection type. The order of the values must match the order of the custom fields defined in the inspection type. If the value is optional then you can provide null for that value.

custom_field_values
string

The address where the inspection will be performed.

string

The latitude of the address where the inspection will be performed.

string

The longitude of the address where the inspection will be performed.

string
length ≤ 255

The email address of the customer completing the inspection. Required if send_methods.email is true.

string
length ≤ 255

The first name of the customer completing the inspection.

string
length ≤ 255

The last name of the customer completing the inspection.

string
length ≤ 255

The full name of the customer who will be completing the inspection. If specified, then customer_first_name and customer_last_name will not be provided.

string
length ≤ 2

The country code for the customer's phone number.

string

The mobile number of the customer completing the inspection. Required if send_methods.text is true.

boolean
Defaults to false

This must be set to true when including items in the list object.

string | null

Free-form inspection-ready criteria text. Max length 10KB.

number

The id of the inspection type this inspection is for.

list
object

Populate this object with list items to prompt the user for specific photos, videos, or questions during the inspection.

string
length ≤ 255

The message supplement (custom note) to be attached to the request text/email. Maximum length of 255 characters.

date-time

The date/time (in UTC) the inspection is scheduled to be sent to the customer

string

The IANA timezone name for the inspection's scheduled datetime. Used only for display purposes, as scheduled_for is in UTC.

send_methods
object

The method(s) to send the inspection request to the customer completing the inspection.

number

The id of the team this inspection is for.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json