- Integrations
- Custom integration
- Retrieve unique identifiers for integrations
Retrieve unique identifiers for integrations
Learn how to retrieve the unique identifiers of different features on the SafetyCulture web app with ease.
From time to time, you may need to retrieve the unique identifier of specific documents or profiles to integrate with SafetyCulture. Whilst you can always refer to our API documentation on how to retrieve unique identifiers via API requests, we understand that not everyone who's tasked with building integrations is comfortable with such methods.
What you'll need
Take note
Depending on the unique identifier you are trying to retrieve, you may need document access or organization permissions to proceed.
While it's possible to retrieve unique identifiers regardless of your organization's plan, you'll need the Premium Plan or Enterprise Plan to use integrations.
Retrieve a template "template_id"
Select Templates from the menu on the left-hand side
Click the template and select Manage access in the side panel.
Copy the "template_id" from the URL, which should resemble the following example: https://app.safetyculture.com/template-editor/template_ec6d885b07944d00b5d1e224bf0573c1
You must have "Conduct, edit" access to the template at a minimum. Learn how to give template and inspection access to your team.
Retrieve a question "item_id"
Select Templates from the menu on the left-hand side
Hover your cursor over the template and click Edit on the right-hand side.
Inspect the web page HTML elements by pressing command + option + C (macOS) or ctrl + shift + C (Windows) on your keyboard. Please note that the keyboard shortcuts are for Google Chrome, which may differ for other browsers you use.
In the elements panel, press command + F (macOS) or ctrl + F (Windows) on your keyboard.
Type in the question label. The search should return 2 results. Go to the second result that highlights the question in the preview pane.
Copy the "item_id" that should be above the result, behind the heading "data-item-id=". You should see something that resembles the following example:
You must have "Conduct, edit" access to the template at a minimum. Learn how to give template and inspection access to your team.
Retrieve an inspection "audit_id"
Select Inspections from the menu on the left-hand side
Click the inspection and select View report in the side panel.
Copy the "audit_id" from the URL, which should resemble the following example: https://app.safetyculture.com/report/audit/
audit_734afa7997a840a9ab2dcf4b382445a2
You must have "View, edit" access to the inspection at a minimum. Learn how to give template and inspection access to your team.
Retrieve a user "user_id"
Click your organization name on the lower-left corner of the page and select Users.
Click the user's name.
Scroll down and click to copy the "user_id" from the "User ID" box, which should resemble the following example:
2b8f150c-2580-45ce-bce3-0878c1de721e
You must have the "Platform management: Users" permission.
Retrieve a group "role_id"
Click your organization name on the lower-left corner of the page and select Groups.
Click the group name.
Select the Details tab and click to copy the "role_id" from the "Role ID" box, which should resemble the following example:
2f14ed7e-c092-402a-9ba7-eaf4b086c400
You must have the "Platform management: Groups" permission.
Retrieve a site "location_id"
Click your organization name on the lower-left corner of the page and select Sites.
Click the site or level name.
Select the Details tab and click to copy the "location_id" from the "Site ID" box, which should resemble the following example: fa277fb0-78d8-47d1-ab71-c2310ddfacfc
You must have the "Platform management: Sites" permission.
Was this page helpful?
Thank you for letting us know.