Skip to main content
Server path: /safetyculture-inspections | Type: Application | PCID required: Yes

Tools

ToolDescription
safetyculture_inspections_answer_service_get_answers_for_inspectionGet answers from an inspection
safetyculture_inspections_external_inspection_service_get_inspection_detailsGet details of an inspection
safetyculture_inspections_inspection_service_archive_inspectionArchive an inspection
safetyculture_inspections_inspection_service_clone_inspectionClone an inspection
safetyculture_inspections_inspection_service_complete_inspectionComplete inspection
safetyculture_inspections_inspection_service_delete_inspectionDelete an inspection
safetyculture_inspections_inspection_service_get_inspectionGet an inspection
safetyculture_inspections_inspection_service_get_inspection_accessGet inspection access
safetyculture_inspections_inspection_service_remove_inspection_user_accessRemove user access to an inspection
safetyculture_inspections_inspection_service_restore_archived_inspectionRestore an archived inspection
safetyculture_inspections_inspection_service_set_inspection_accessSet inspection access
safetyculture_inspections_inspection_service_set_inspection_locationSet an inspections start or finish location
safetyculture_inspections_inspection_service_set_inspection_siteSet inspection site
safetyculture_inspections_inspection_service_set_ownerSet inspection owner
safetyculture_inspections_media_service_get_download_signed_urlGet media download URL
safetyculture_inspections_reports_service_start_inspection_exportExport inspection to PDF or Word
safetyculture_inspections_templates_service_archive_templateArchive a template
safetyculture_inspections_templates_service_get_template_by_idGet a template
safetyculture_inspections_templates_service_get_template_by_inspection_idGet template (by inspection)
safetyculture_inspections_templates_service_restore_archived_templateRestore an archived template
safetyculture_inspections_the_pub_service_get_inspection_deep_linkGenerate an inspection deep link
safetyculture_inspections_the_pub_service_get_inspection_web_report_linkGet inspection web report link
safetyculture_inspections_the_pub_service_search_inspectionsSearch modified inspections
safetyculture_inspections_the_pub_service_search_templatesSearch modified templates
safetyculture_inspections_the_pub_service_share_inspectionShare an inspection
safetyculture_inspections_the_pub_service_start_inspectionStart an inspection
safetyculture_inspections_the_pub_service_update_inspectionUpdate an inspection

safetyculture_inspections_answer_service_get_answers_for_inspection

Get answers from an inspection Parameters:
ParameterTypeRequiredDefaultDescription
idstringYesThe unique identifier for the inspection

safetyculture_inspections_external_inspection_service_get_inspection_details

Get details of an inspection Parameters:
ParameterTypeRequiredDefaultDescription
idstringYesThe ID for the inspection.
include_media_urlbooleanNoWhether to include media URLs (and metadata) in the response payload. Optional. Defaults to false.

safetyculture_inspections_inspection_service_archive_inspection

Archive an inspection Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesThe unique identifier for the inspection
bodyobjectYesRequest body

safetyculture_inspections_inspection_service_clone_inspection

Clone an inspection Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesRequired. Inspection ID to copy from
bodyobjectYesRequest body

safetyculture_inspections_inspection_service_complete_inspection

Complete inspection Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesThe unique identifier for the inspection to complete.
bodyobjectYesRequest message for CompleteInspection.

safetyculture_inspections_inspection_service_delete_inspection

Delete an inspection Parameters:
ParameterTypeRequiredDefaultDescription
idstringYesThe unique identifier for the inspection

safetyculture_inspections_inspection_service_get_inspection

Get an inspection Parameters:
ParameterTypeRequiredDefaultDescription
idstringYesThe ID for the inspection.

safetyculture_inspections_inspection_service_get_inspection_access

Get inspection access Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesThe unique identifier for the inspection

safetyculture_inspections_inspection_service_remove_inspection_user_access

Remove user access to an inspection Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesThe unique identifier for the inspection
removed_user_idstringYesThe unique identifier of the user to remove access from
new_owner_idstringNoThe unique identifier for a new owner of this inspection. Required when removing the current owner (when the inspection is owned by removed_user_id). If the inspection is not owned by removed_user_id, this field is optional and ownership will not be changed.

safetyculture_inspections_inspection_service_restore_archived_inspection

Restore an archived inspection Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesThe unique identifier for the inspection

safetyculture_inspections_inspection_service_set_inspection_access

Set inspection access Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesThe unique identifier for the inspection
owner_idstringNoThe user ID of the inspection owner (optional); implicitly has full access If access is to be revoked from the original owner, a new owner must be specified.
permissionsany[]NoCollection of access rules with their associated permission levels

safetyculture_inspections_inspection_service_set_inspection_location

Set an inspections start or finish location Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesRequired. The unique identifier for the inspection
geo_positionobjectYesRequired. The geographical position associated with the inspections start/finish
is_start_locationbooleanYesRequired. Whether this is the inspections starting or completing location

safetyculture_inspections_inspection_service_set_inspection_site

Set inspection site Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesThe ID of the inspection
site_idstringYesThe ID of the site

safetyculture_inspections_inspection_service_set_owner

Set inspection owner Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesThe unique identifier for the inspection
owner_idstringYesThe unique identifier for the new owner

safetyculture_inspections_media_service_get_download_signed_url

Get media download URL Parameters:
ParameterTypeRequiredDefaultDescription
idstringYesThe unique identifier for the media item.
tokenstringYesThe given token, unique for each media item, to grant access.
download_as_attachment_namestringNoIndicates the object should be downloaded as an attachment and saved with the given name. At the least, the file name should contain a name plus a 3-letter file extension e.g. test.png, conditions.pdf, a.jpg.
media_typestringNoThe media type associated with the download request. - MEDIA_TYPE_IMAGE: An image file (GIF, JPG, PNG, WEBP). - MEDIA_TYPE_VIDEO: A video file (MP4, MOV). - MEDIA_TYPE_PDF: A PDF document. - MEDIA_TYPE_DOCX: A Microsoft Word document (DOCX, DOC). - MEDIA_TYPE_XLSX: A Microsoft Excel spreadsheet (XLSX, XLS).

safetyculture_inspections_reports_service_start_inspection_export

Export inspection to PDF or Word Parameters:
ParameterTypeRequiredDefaultDescription
export_dataany[]YesList of report configurations
export_settingsobjectNoSets of export settings that can apply to tabular export, eg Excel
inspection_filterobjectNoList of inspections filters that filters out which inspection to be included. This is optional and only be evaluate
langstringNoSets the language for the document using language code from ISO-639 format
regeneratebooleanNoIndicate whether to by pass any caching and regenerate the report from the latest data. This flag would only take effect for authorized user.
timezonestringNoSets the timezone for bulk exporting file name
typestringYesThe requested file type for the export

safetyculture_inspections_templates_service_archive_template

Archive a template Parameters:
ParameterTypeRequiredDefaultDescription
template_idstringYesThe unique identifier for the template
bodyobjectYesRequest body

safetyculture_inspections_templates_service_get_template_by_id

Get a template Parameters:
ParameterTypeRequiredDefaultDescription
template_idstringYesUnique template id
localestringNoThe preferred locale of the template.

safetyculture_inspections_templates_service_get_template_by_inspection_id

Get template (by inspection) Parameters:
ParameterTypeRequiredDefaultDescription
inspection_idstringYesThe ID for the inspection.
localestringNoThe preferred locale of the template.

safetyculture_inspections_templates_service_restore_archived_template

Restore an archived template Parameters:
ParameterTypeRequiredDefaultDescription
template_idstringYesThe unique identifier for the template

Generate an inspection deep link Parameters:
ParameterTypeRequiredDefaultDescription
audit_idstringYesThe id of the inspection to retrieve a deep link for.

Get inspection web report link Parameters:
ParameterTypeRequiredDefaultDescription
audit_idstringYesThe id of the inspection to retrieve a web report link for.

safetyculture_inspections_the_pub_service_search_inspections

Search modified inspections Parameters:
ParameterTypeRequiredDefaultDescription
fieldany[]NoThe fields to return. Defaults to just audit_id. - audit_id: Include audit_id in the response. - modified_at: Include modified_at in the response. - template_id: Include template_id in the response.
orderstringNoThe order to return results in. - asc: Ascending order. - desc: Descending order.
modified_afterstringNoFilter inspections modified after this date time.
modified_beforestringNoFilter inspections modified before this date time.
templateany[]NoFilter to inspections conducted from these templates.
archivedstringNoFilter results by archived status. Default is false. - false: Only unarchived inspections. - true: Only archived inspections. - both: Both unarchived and archived inspections.
completedstringNoFilter results by completed status. Default is both. - both: Both complete and incomplete inspections. - false: Only incomplete inspections. - true: Only complete inspections.
ownerstringNoFilter results by owner. Default is all. - all: Owned by anyone. - me: Only owned by the requesting user - other: Only owned by other users.
limitintegerNoLimit the number of results returned. Default is 100.

safetyculture_inspections_the_pub_service_search_templates

Search modified templates Parameters:
ParameterTypeRequiredDefaultDescription
limitintegerNoLimit the number of results returned. Default is 1000.
fieldany[]NoThe fields to return. Defaults to just audit_id. - template_id: Include template_id in the response. - name: Include name in the response. - modified_at: Include modified_at in the response. - created_at: Include modified_at in the response.
orderstringNoThe order to return results in. - asc: Order by modified_at in ascending order. - desc: Order by modified_at in descending order.
modified_afterstringNoFilter results modified after this date time.
modified_beforestringNoFilter results modified before this date time.
archivedstringNoFilter results by archived status. - false: Only include unarchived templates. - true: Only include archived templates. - both: Include both archived and unarchived templates.
ownerstringNoFilter results by owner. - all: Include all templates. - me: Only include templates owned by the requesting user. - other: Only include templates owned by other users.

safetyculture_inspections_the_pub_service_share_inspection

Share an inspection Parameters:
ParameterTypeRequiredDefaultDescription
audit_idstringYesThe id of the inspection to share.
sharesany[]NoThe users and groups to share with.

safetyculture_inspections_the_pub_service_start_inspection

Start an inspection Parameters:
ParameterTypeRequiredDefaultDescription
header_itemsany[]NoThe title page items of the inspection.
itemsany[]NoThe items of the inspection.
template_idstringYesID of the template to start an inspection from.

safetyculture_inspections_the_pub_service_update_inspection

Update an inspection Parameters:
ParameterTypeRequiredDefaultDescription
audit_idstringYesThe ID of the inspection to update.
archivedbooleanNoWhether to archive or un-archive the inspection. Optional. Defaults to false (un-archive).
header_itemsany[]NoThe title page items of the inspection.
itemsany[]NoThe items of the inspection.