Loading…
Loading…
Don't leave without your free audit checklist. 10 things inspectors look for.
Integrate SiteSafe with your own tools using our REST API. Bearer token authentication, JSON responses, and webhooks for real-time events.
Generate your company's API key in the Settings page of your SiteSafe dashboard. Keys are hashed and scoped to your account.
Include your key in the Authorization header:
Authorization: Bearer ss_your_api_key_herehttps://sitesafe.thesift.space/api/v1/sitesReturns all sites belonging to your company.
curl -H "Authorization: Bearer YOUR_KEY" \
https://sitesafe.thesift.space/api/v1/sites[
{
"id": "cmp_abc123",
"name": "Headquarters",
"slug": "headquarters",
"address": "123 Main St",
"safetyBriefingText": "Please sign in..."
}
]/visitorsReturns visitor logs, optionally filtered by site or date range.
siteIdFilter by site IDfromStart date (YYYY-MM-DD)toEnd date (YYYY-MM-DD)curl -H "Authorization: Bearer YOUR_KEY" \
"https://sitesafe.thesift.space/api/v1/visitors?from=2026-06-01&to=2026-06-30"/visitorsCreates a new visitor record (simulates a check-in). The site must belong to your company.
fullNamerequiredcompanyrequiredsiteIdrequiredphoneoptionalemailoptionalhostNameoptionalsafetyAcknowledgedoptional · booleancurl -X POST \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"fullName":"Jane Doe","company":"Acme","siteId":"cmp_abc123"}' \
https://sitesafe.thesift.space/api/v1/visitors/visitors/{visitorId}/signoutSigns out an existing visitor. The visitor must belong to your company.
curl -X POST \
-H "Authorization: Bearer YOUR_KEY" \
https://sitesafe.thesift.space/api/v1/visitors/cmp_abc123/signoutThe API returns standard HTTP status codes. A JSON body with an error field is included for failures.
Unauthorized
Missing or invalid API key
Bad Request
Missing required fields
Not Found
Resource not found or access denied
Rate Limited
Rate limit exceeded (future)
Send real-time events (check-in, check-out, blocklist hits) to any URL. Configure webhook endpoints in your dashboard Settings.
Get API accessQuestions about authentication, rate limits, or custom integrations? We typically respond within 24 hours.
hello@thesift.space