Get Lead Status
GET
/api/v1/public/leads/{external_id}/Used to get the current status and order number of a created lead.
Auth: Provider API Key — Authorization: Bearer <key> or X-API-Key: <key>.
Scoping
You can only see the leads you created. Another provider's lead, and an
external_id that does not exist, both return 404 — never 403.
Path parameter
| Parameter | Type | Description |
|---|---|---|
external_id | String | The value the 201 response returned at creation time |
That may be your own id, a generated navigo-<16 hex> (when you sent none), or a
<your-id>~dup-<8 hex> tag (when you reused an id for a different customer). A
GET with the bare id returns the first lead stored under it.
Response — 200 OK
{
"id": 1042,
"order_number": "00001042-XT",
"state": "LEAD",
"lead_status": "LEAD",
"external_id": "lead_998123A"
}
state — lead lifecycle
| Value | Meaning |
|---|---|
LEAD | Newly created, not yet processed |
QUOTE | Turned into a price quote |
ORDER | Turned into an order (closed / confirmed) |
Code samples
- curl
- JavaScript
- Python
curl https://leads.navigocrm.com/api/v1/public/leads/lead_998123A/ \
-H "Authorization: Bearer $NAVIGO_API_KEY"
const res = await fetch(
"https://leads.navigocrm.com/api/v1/public/leads/lead_998123A/",
{ headers: { Authorization: `Bearer ${process.env.NAVIGO_API_KEY}` } },
);
if (!res.ok) throw new Error(`Status check failed: ${res.status}`);
const lead = await res.json();
console.log(lead.state); // "LEAD" | "QUOTE" | "ORDER"
import os, requests
resp = requests.get(
"https://leads.navigocrm.com/api/v1/public/leads/lead_998123A/",
headers={"Authorization": f"Bearer {os.environ['NAVIGO_API_KEY']}"},
timeout=15,
)
resp.raise_for_status()
lead = resp.json()
print(lead["state"]) # LEAD | QUOTE | ORDER
Possible errors
| Status | Reason |
|---|---|
404 | No lead with this external_id, or it belongs to another provider |
401 | Missing, invalid, revoked or inactive API key |
Full format: Errors.