Authentication
POST /auth/register Public
Create an account and start a session.
Body
emailstring required- Account email (canonical key).Example
me@example.com passwordstring required- Account password.
curl -X POST "https://freehire.dev/api/v1/auth/register" \
-H 'Content-Type: application/json' \
-c cookies.txt \
-d '{"email":"me@example.com","password":"hunter2hunter2"}'{ "data": { "id": 1, "email": "me@example.com", "role": "user", "created_at": "2026-06-19T10:00:00Z" } }