Appearance
Read leads
Scope: leads:read.
GET /public/v1/leads/
Returns the lead object. Another company's id is 404.
Try It calls https://api.appraiserflow.ai/public/v1 with an af_test_ key created in that same environment. The key stays in sessionStorage. af_live_ keys are blocked here; call the API from your server with a Live key.
GET /public/v1/leads/by-reference
http
GET /public/v1/leads/by-reference?external_reference=deal-4421Try It calls https://api.appraiserflow.ai/public/v1 with an af_test_ key created in that same environment. The key stays in sessionStorage. af_live_ keys are blocked here; call the API from your server with a Live key.
GET /public/v1/leads
http
GET /public/v1/leads?stage=qualified&classification=amc&organization_id={uuid}&limit=50&offset=0| Query | Notes |
|---|---|
stage | Optional: lead, qualified, proposal, won, lost |
classification | Optional: lead, private_lender, institutional_lender, amc, realtor, attorney |
organization_id | Optional Appraiser Flow organization uuid |
limit | 1–100, default 50 |
offset | 0–10000, default 0 |
Response: items, limit, offset, has_more. Each lead includes next_contact_on and contact_history. contact_history is prior outreach, newest first: occurred_on, method (phone_call, emailed, web_form, in_person), notes, next_follow_up_on, contact_name, and created_by_name.
Try It calls https://api.appraiserflow.ai/public/v1 with an af_test_ key created in that same environment. The key stays in sessionStorage. af_live_ keys are blocked here; call the API from your server with a Live key.
Errors
| Status | Code |
|---|---|
| 403 | insufficient_scope |
| 404 | not_found |
| 422 | validation_error (unknown stage) |