Authentication
One header
# Everything on the board today
curl https://everglowdispatch.com/api/board \
-H "Authorization: Bearer eg_your_key_here"
# Book a job
curl -X POST https://everglowdispatch.com/api/visits \
-H "Authorization: Bearer eg_your_key_here" \
-H "Content-Type: application/json" \
-d '{"jobId":"...","scheduledOn":"2026-09-02","startTime":"09:00","durationMin":90}'
Responses are JSON. Errors come back with an HTTP status and an error field written in plain English, not a code you have to look up.
Retrying safely
Send an X-Client-Ref header on any write with a value you generate. If the same ref arrives twice — a retry, a timeout, a duplicate job in your queue — the original response is replayed instead of the action happening again. It's the same mechanism the mobile app uses to survive a bad signal, and it means you can retry without worrying about double-invoicing someone.
-H "X-Client-Ref: my-system-invoice-8814"