Skip to content

Environments ​

EnvAPI hostKey prefixNotes
Local Composehttp://localhost:18000/public/v1af_test_ or af_live_Key must be created on this local API
Staginghttps://staging-api.appraiserflow.ai/public/v1af_test_ or af_live_Key must be created in the staging app
Productionhttps://api.appraiserflow.ai/public/v1af_test_ or af_live_Key must be created in the production app

Copy that full base from Settings → Public API in the same app that created the key. The guides call it AF_API. A test key created in production calls https://api.appraiserflow.ai/public/v1. It does not call the staging API, because the secret is stored only in the production database.

Try It on this site calls the API base in the footer and accepts an af_test_ key from that same environment. Keep af_live_ keys on your server.

Headers ​

http
Authorization: Bearer af_test_…
Content-Type: application/json
Idempotency-Key: …          # required on POST quotes, organizations, and leads
X-Request-Id: …             # optional; echoed on responses

Errors use:

json
{
  "error": {
    "code": "invalid_api_key",
    "message": "…",
    "request_id": "req_…",
    "details": []
  }
}

API base: https://api.appraiserflow.ai/public/v1. Test and live keys created in this environment both use this base.