Search and retrieve SafetyCulture Actions (corrective actions) data via the API
domain: developer.safetyculture.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Authenticate with a service user or user API token against https://api.safetyculture.io.
Search actions to get `task_id` values.
Retrieve full action detail for a given `task_id`, which returns `title`, `description`, `priority_id`, `status`, `collaborators`, `site`, and — when the action originated from an inspection or sensor alert — a `reference` block with the source context.
Map `priority_id` and `status.status_id` values to labels using the documented lookup tables (e.g., `58941717-817f-4c7c-a6f6-5cd05e2bbfde` = None priority; `7223d809-553e-4714-a038-62dc98f3fbf3` = Complete status).
Use `collaborators[].collaborator_type` (`USER`, `GROUP`, `EXTERNAL_USER`) to resolve who the action is assigned to.
Known gotchas
Action status labels can be customized per organization — only fall back to the documented default labels if the org hasn't renamed them.
`reference` is only present when the action was created from an inspection or a sensor alert; standalone actions omit it entirely.
Priority and default status IDs are fixed UUIDs defined by SafetyCulture, not values you create or change.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?