Authorization header carrying a key you generated in the dashboard.
Key format
sv_is the SiteVisit prefix.liveortestidentifies the mode — test keys operate on a parallel sandbox dataset that’s completely separate from your production data. See Test mode below.- The tail is 16 random bytes encoded as 32 lowercase hex characters.
Generate a key
- Sign in to sitevisit.app.
- Open Settings → Developers.
- Type a name (e.g.
production-warehouse,marc-laptop). - Choose Mode → Live for production data, or Mode → Test for the sandbox.
- Click Generate key.
- Copy the full value immediately — we display it once.
Test mode
Stripe-style —sv_test_* keys operate on a parallel sandbox dataset that’s completely separate from your production data. Properties, site visits, action items, capture tokens, and webhook endpoints created with a test key are tagged isTest: true and never visible to live-mode callers (or vice versa).
Test mode is free + unmetered. Test resources don’t count against your plan limits — developers on any tier can build end-to-end without paying.
isTest: true|false so you can confirm at a glance which dataset you hit.
Webhooks in test mode
Webhook endpoints have their own mode (live or test, set when you create the endpoint in Settings → Developers → Webhooks). Test-mode endpoints only receive events triggered by sv_test_* keys; live endpoints only receive events from sv_live_* keys. Test traffic never crosses into live receivers.
Every webhook payload includes a top-level livemode boolean so receivers can branch without parsing the resource itself:
Rotate a key
There’s no rotation endpoint — generate a new key, swap it into your secret store, then revoke the old one once traffic has moved over. This pattern keeps you in control of the cutover window.Revoke a key
In Settings → Developers, click Revoke next to the key. Revoked keys reject all subsequent requests with401 invalid_api_key. Revocation is immediate; we do not honor a grace period.
Scopes
Every key has full read + write access to the account that issued it. The only access boundary today is the mode (live vs test) — test keys can never reach into live data or vice versa.Where to store keys
API keys are secrets. Don’t:- Commit them to a repository.
- Embed them in mobile apps or frontend JavaScript.
- Share them across teams in chat or email.
Errors
See the Errors page for the full envelope shape and the
docs_url link pattern.