Your data, on tap
Read your inspections, findings, equipment and training records straight into whatever you already use. Included on every plan: we don't charge extra for you to get at your own records.
CDRisk API v1. Part of the CDRisk platform.
Quick start
Issue a key in the client portal, send it as a bearer token, and check what it can do.
Issue a key
In the client portal, go to Manage → API Keys (organization admins only), name the key after whatever will use it, and grant only the scopes that thing needs. The key is shown once and never again.
Send it as a bearer token
curl https://api.cdrisk.com/api/v1/me \ -H "Authorization: Bearer cdr_live_a1b2c3d4e5f6_..."
Check what you got
{ "key_name": "Warehouse dashboard", "organization": { "id": "…", "name": "Example Co." }, "scopes": ["sites:read", "equipment:read", "equipment:write"] }
Endpoints
Base URL https://api.cdrisk.com/api. Every list endpoint takes limit (max 200) and offset.
| Method | Path | Scope | Returns |
|---|---|---|---|
| GET | /v1/me | — | What this key is and what it can do |
| GET | /v1/sites | sites:read | Your sites |
| GET | /v1/inspections | inspections:read | Inspections, filterable by site and status |
| GET | /v1/inspections/:id | inspections:read | One inspection with its findings |
| GET | /v1/findings | findings:read | Findings, filterable by status and risk level |
| GET | /v1/equipment | equipment:read | Equipment with QR codes |
| POST | /v1/equipment | equipment:write | Create an equipment record |
| GET | /v1/training-records | training:read | Training records with expiry dates |
| POST | /v1/training-records | training:write | Create a training record |
Need an endpoint that isn't here? The v1 surface is deliberately small: we exposed what customers asked for rather than everything we could. Tell us what you are building and we will tell you honestly whether it is on the roadmap.
How keys behave, stated up front
- Scopes do not imply each otherA key with equipment:write cannot read equipment unless it also has equipment:read. Grant exactly what the integration needs and nothing more.
- Keys are organization-wide, not per userA key authenticates your organization. It cannot reach the admin portal, the client portal, or any endpoint outside /v1, even if the person who created it is an admin.
- We cannot recover a lost keyWe store a hash, never the key. If it goes missing, revoke it and issue another. Anyone who has the string can use it, so treat it like a password.
- 120 requests per minute, per keyCounted per key rather than per IP, so your integration is never throttled by someone else behind the same network. Over the limit returns 429.
Errors
| Response | What it means |
|---|---|
| 401 unauthorized | Missing, unknown, revoked, or expired key. We return the same message for all of them on purpose. |
| 403 insufficient_scope | Valid key, wrong scope. The response names the scope you need. |
| 404 not_found | The record does not exist, or belongs to another organization. |
| 429 rate_limited | Over 120 requests in a minute. |
Start with a free site walkthrough
We walk your site with you and tell you plainly what we would look at first. No obligation.
Book a free site walkthrough