Getting started
The SafeSites API lets you manage sites, work tasks, equipment, and the people who do work on them. This guide walks you through your first request.
Base URL
All API endpoints are served from /api. In production:
https://app.samnord.com/api
Making your first request
Once you have an API token, every request must include it in the Authorization header:
curl https://app.samnord.com/api/profile \
-H "Authorization: Bearer YOUR_TOKEN"
If everything is set up correctly you'll get back the profile of the user the token belongs to.