- Using SafetyCulture
- Tips and tricks
- Create deep links to SafetyCulture
Create deep links to SafetyCulture
Learn how to create deep links to the SafetyCulture web app and the mobile app.
What are deep links?
Deep links allow users to navigate directly to specific parts of a web page or mobile app using uniform resource identifiers (URIs). In SafetyCulture, you can create deep links that direct your team members to specific templates, inspections, or even particular inspection pages or questions. This ensures that users can quickly access the exact information they need, whether they are starting a new inspection or editing an existing one.
Depending on the deep links you're creating and sharing with your team, users will need access to the relevant entities for them to open deep links successfully.
What you'll need
When opening a deep link, a user will be prompted to select from which organization they want to open the link if they're a part of multiple organizations.
Create a web app deep link
Start an inspection
Create the following deep link to direct a user to start an inspection via the web app with a specified template by providing the template ID:
https://app.safetyculture.com/inspection/new?templateId=<template_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/inspection/new?templateId=template_fcbc86fd41a74180921347e4be53bdf2
View an inspection report
Create the following deep link to direct a user to view an inspection report via the web app by providing the inspection ID:
https://app.safetyculture.com/report/audit/<inspection_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/report/audit/audit_212a63de0cf4452586cb41204bd91eec
Edit an inspection
Create the following deep link to direct a user to edit an inspection via the web app by providing the inspection ID:
https://app.safetyculture.com/inspection/<inspection_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/inspection/audit_212a63de0cf4452586cb41204bd91eec
Edit an inspection from a question
Create the following deep link to direct a user to edit an inspection starting from a specific question via the web app by providing the inspection ID and the question's item ID:
https://app.safetyculture.com/inspection/<inspection_id>?item=<item_id>
Please note that this deep link does not support questions within repeat sections.
You can use the following example as a reference to create your own:
https://app.safetyculture.com/inspection/audit_dcf0930716874369a66da13ad474bfff?item=8f2f287e-be6e-470c-a2e2-a0fd8ab966ae
Edit an inspection from a page
Create the following deep link to direct a user to edit an inspection starting from a specific page via the web app by providing the inspection ID and the page number:
https://app.safetyculture.com/inspection/<inspection_id>?page=<page_number>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/inspection/audit_212a63de0cf4452586cb41204bd91eec?page=3
Start a course
Create the following deep link to direct a user to start a course via the web app by providing the course ID:
https://app.safetyculture.com/trainings/course/<course_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/trainings/course/66737966f7397b3bc9e0a377
Start a course from a lesson
Create the following deep link to direct a user to start a course starting from a specific lesson via the web app by providing the course ID and the lesson ID:
https://app.safetyculture.com/trainings/lesson/<lesson_id>/play
You can use the following example as a reference to create your own:
https://app.safetyculture.com/trainings/lesson/66737966f7397b3bc9e0a378/play
Open an asset profile
Create the following deep link to direct a user to open an asset profile via the web app by providing the asset ID:
https://app.safetyculture.com/assets/<asset_id>
You can use the following example as a reference to create your own:
https://app.safetyculture.com/assets/a33d56ae-1c91-40b0-a62e-98ab47ef75a0
Create a mobile app deep link
Start an inspection
Create the following deep link to direct a user to start an inspection via the mobile app with a specified template by providing the template ID:
iauditor://template/new_audit/<template_id>
You can use the following example as a reference to create your own:
iauditor://template/new_audit/template_fcbc86fd41a74180921347e4be53bdf2
Start and pre-fill an inspection
Create the following deep link to direct a user to start an inspection via the mobile app with a specified template and pre-fill questions by providing the template ID, question item ID, as well as the responses you want to pre-fill:
iauditor://template/new_audit/<template_id>?<item_id>=<response>
Depending on the response you want to pre-fill, you may need to encode it for the deep link to work. For example, spaces should be replaced with "%20", so "Surry Hills" would be encoded as "Surry%20Hills". You can refer to the URL encoding list for guidance.
You can pre-fill multiple questions by using "&" in the deep link. For example:
iauditor://template/new_audit/template_fcbc86fd41a74180921347e4be53bdf2?f3245d44-ea77-11e1-aff1-0800200c9a66=72%20Foveaux%20Street%2C%20Surry%20Hills&f324123ra-ea21-11e2-aff4-0800200c9a68=SafetyCulture
However, be mindful of the length, as deep links that are too long may not work consistently. For long links, you can use URL shortening as long as the service you're using can return the full link.
You can use the following example as a reference to create your own:
iauditor://template/new_audit/template_fcbc86fd41a74180921347e4be53bdf2?f3245d44-ea77-11e1-aff1-0800200c9a66=72%20Foveaux%20Street%2C%20Surry%20Hills
Edit an inspection
Create the following deep link to direct a user to edit an inspection via the mobile app by providing the inspection ID:
iauditor://audit/<audit_id>
You can use the following example as a reference to create your own:
iauditor://audit/audit_7d228b49406741fab40599a1ed0c87cb
Edit an inspection from a question
Create the following deep link to direct a user to edit an inspection starting from a specific question via the mobile app by providing the inspection ID and the question's item ID:
iauditor://audit/<audit_id>/item/<item_id>
Please note that this deep link does not support questions within repeat sections.
You can use the following example as a reference to create your own:
iauditor://audit/audit_7d228b49406741fab40599a1ed0c87cb/item/65f92f7e-a88b-4388-b7d8-281445a55404
Start a course
Create the following deep link to direct a user to start a course via the mobile app by providing the course ID:
iauditor://trainings/course/<course_id>
You can use the following example as a reference to create your own:
iauditor://trainings/course/66737966f7397b3bc9e0a377
Start a course from a lesson
Create the following deep link to direct a user to start a course starting from a specific lesson via the mobile app by providing the course ID and the lesson ID:
iauditor://trainings/lesson/<lesson_id>/play
You can use the following example as a reference to create your own:
iauditor://trainings/lesson/66737966f7397b3bc9e0a378/play
Open an asset profile
Create the following deep link to direct a user to open an asset profile via the mobile app by providing the asset ID:
iauditor://asset/profile/<asset_id>
You can use the following example as a reference to create your own:
iauditor://asset/profile/a33d56ae-1c91-40b0-a62e-98ab47ef75a0
Was this page helpful?
Thank you for letting us know.