Skip to content

Get Started ​

Appraiser Flow’s public API is for three kinds of connection:

  1. A website that previews fee and turnaround and opens a quote.
  2. A client or lender database that should show up under Clients.
  3. A lead tool that should show up on the CRM pipeline, plus optional order status reads.

Click-by-click key setup is in Connect a System.

Compliance

Quote responses are fee and turnaround only. Do not show an estimated value, AVM, assessed value, or sale price as the offer on your site.

1. Create a key ​

In Appraiser Flow: Settings → Public API → Create API Key.

For a quote site, start with:

  • products:read
  • fees:read
  • quotes:write
  • quotes:read
  • files:write

For a client or lender database, use organizations:read and organizations:write instead. Scope tables for each connection are in Connect a System.

Copy the secret once. Store it on the server.

bash
# Copy API Base URL already includes /public/v1. Match the key to that host.
export AF_API="https://api.appraiserflow.ai/public/v1"
export AF_API_KEY="af_test_••••"
Where you created the keyAF_APIKey
Productionhttps://api.appraiserflow.ai/public/v1af_test_ or af_live_
Staginghttps://staging-api.appraiserflow.ai/public/v1af_test_ or af_live_
Local Composehttp://localhost:18000/public/v1af_test_ or af_live_
bash
curl -sS "$AF_API/me" -H "Authorization: Bearer $AF_API_KEY"

2. Website: preview, then open a quote ​

bash
curl -sS "$AF_API/fees/preview" \
  -H "Authorization: Bearer $AF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "product_code": "1004",
    "subject": {
      "line1": "123 Main St",
      "city": "Nashville",
      "state": "TN",
      "postal_code": "37203",
      "county": "Davidson"
    }
  }'

Creates require Idempotency-Key.

bash
curl -sS "$AF_API/quotes" \
  -H "Authorization: Bearer $AF_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "schema_version": 1,
    "product_code": "1004",
    "subject": {
      "line1": "123 Main St",
      "city": "Nashville",
      "state": "TN",
      "postal_code": "37203",
      "county": "Davidson"
    },
    "client": {
      "name": "Acme Mortgage",
      "email": "orders@acme.example",
      "phone": "(615) 555-0100"
    },
    "source": "website"
  }'

The office finishes and sends the quote inside Appraiser Flow.

3. Database or lead tool ​

Send the source system’s id as external_reference. The next run with that same id updates the record.

bash
curl -sS "$AF_API/organizations" \
  -H "Authorization: Bearer $AF_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "external_reference": "sf-001",
    "external_source": "salesforce",
    "name": "Acme Mortgage",
    "client_type": "lender",
    "email": "orders@acme.example",
    "phone": "(615) 555-0100"
  }'

action is created or updated. Staff see the company under Clients. The field guide, batch calls, and a nightly sync script are in Directory and leads.

Next ​

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