Skip to main content

Public Lead API

The Public Lead API lets external providers submit a lead (a potential order) to Navigo CRM and track its status.

Endpoints​

MethodEndpointDescription
POST/api/v1/public/leads/Submit a new lead
GET/api/v1/public/leads/{external_id}/Get a lead's status

The host serves these two paths only. Any other path on https://leads.navigocrm.com returns 404.

Authentication​

All requests are protected with a Provider API Key, sent as either header:

Authorization: Bearer <YOUR_API_KEY>
X-API-Key: <YOUR_API_KEY>

More: Authentication.

Lead lifecycle​

Every lead moves through three main stages inside Navigo. The current stage is returned in the state field:

LEAD ───────► QUOTE ───────► ORDER
(just created) (price quote) (order)
stateMeaning
LEADNewly created, not yet processed
QUOTETurned into a price quote
ORDERTurned into an order (confirmed)

Scoping (visibility)​

Each provider can only see the leads they submitted. Another provider's lead, and an external_id that does not exist, both return 404 — never 403.

Idempotency​

external_id is optional. When you send one, it is your key for that lead:

  • Resending the same customer (same email, or the same last ten phone digits) under the same external_id returns 409 Conflict.
  • Reusing an external_id for a different customer (different email and phone) is accepted: the lead is stored as <external_id>~dup-<8 hex>, and the 201 response carries that stored value. A GET by the bare id returns the first lead.
  • Omitting the id (or sending "" / null) makes Navigo generate navigo-<16 hex> and return it in the 201 response. Such a lead cannot be deduplicated — resending it creates a second lead.

Details: Create Lead.

Next steps​