Appearance
Authentication
API keys
Create keys in Settings → Public API. The click path, scope picker, and first GET /me check are in Connect a System.
| Prefix | Use |
|---|---|
af_test_ | A key you can revoke after the mapping is right. It calls the same API base as a live key created in that app. |
af_live_ | The key you leave in the server that runs the integration. Same API base as the test key from that app. |
The full secret is shown once at creation. Store it in your server secrets manager or environment variables.
bash
export AF_API_KEY="af_test_••••"Request header
http
Authorization: Bearer af_test_••••Alternate (equivalent):
http
X-AF-Api-Key: af_test_••••Scopes
Keys are deny-by-default. Grant only what the integration needs.
| Scope | Allows |
|---|---|
products:read | List active products |
fees:read | Coverage check + fee/turnaround preview |
quotes:write | Create quotes (Open Quote queue). Does not accept quotes via API key. |
quotes:read | Read public-safe quote status; lookup by id or external_reference |
files:write | Upload documents to a quote/order |
organizations:read | List and read clients, lenders, AMCs, and their contacts |
organizations:write | Upsert organizations and contacts from an external database |
leads:read | List and read CRM leads |
leads:write | Upsert leads. Creating the organization inline also needs organizations:write |
orders:write | Create draft orders (later wave) |
orders:read | Read order milestones by id, order number, loan number, or client tracking number |
scheduling:read | Read booking options (later wave) |
scheduling:write | Book/confirm inspection (later wave) |
webhooks:manage | Register webhook endpoints via API (optional; UI always available) |
Missing scope → 403 with insufficient_scope.
Invalid, revoked, or wrong-environment keys → 401 with invalid_api_key.
Who can create keys
Tenant users with company configuration permission (Owner / Company Admin). Keys are bound to the tenant, not to the creating user.
Rotation
- Create a new key with the same scopes.
- Deploy the new secret to your servers.
- Revoke the old key.
Revocation is immediate.
IP allowlist (optional)
When configured on a key, requests from other IPs return 403 ip_not_allowed. Use for fixed server egress IPs. Skip for Zapier/serverless unless you know their ranges.
Sanity check
http
GET /public/v1/me
Authorization: Bearer af_test_••••Returns tenant slug/name and the key’s scopes (never the secret).
Browser apps
Do not put API keys in frontend JavaScript, mobile apps, or public repos.
Pattern:
text
Browser form → Your backend → Appraiser Flow Public APIYour backend holds AF_API_KEY and enforces your own auth/CAPTCHA/rate limits for end users.