Skip to main content

Authentication

The Public Lead API authenticates every request with a Provider API Key.

Request header​

Send the key in either header — one is enough:

Authorization: Bearer <YOUR_API_KEY>
X-API-Key: <YOUR_API_KEY>
curl https://leads.navigocrm.com/api/v1/public/leads/lead_998123A/ \
-H "Authorization: Bearer $NAVIGO_API_KEY"
Never put the key in the URL

A key sent as a query parameter (?Authorization=… or ?api_key=…) is not read: the request returns 401 API key is required. and the key stays in the request path, the proxy logs and browser history. Use a header.

Key format​

Keys have the following structure:

lp_live_<prefix>_<secret>
│ └─ secret part
└─ key prefix: 8 hex characters

Example: lp_live_7f2a91c4_r3vS6gG8-QzM5h...

Key management​

  • A Navigo administrator issues the key for your provider.
  • Treat the key like a password — anyone with it can submit leads on your behalf.
  • Never put the key in frontend code, a git repository or logs.
  • Several keys can be active at once, so rotation needs no downtime: issue a new key → switch your integration → ask for the old one to be revoked.
  • An administrator can view a key again in the CRM for keys issued from 1 October 2026 onwards; every reveal is recorded. Older keys must be rotated if lost.
  • A revoked key gets 401 without stopping your other keys.

Rate limiting​

The Public Lead API limits requests per provider — not per key. All of a provider's active keys share one bucket:

LimitValue
Per minute60 requests
Per day2000 requests

When the limit is exceeded, 429 Too Many Requests is returned. In that case:

  • Respect the Retry-After header in the response.
  • Retry with exponential backoff (for example 1s, 2s, 4s, 8s).

More: Rate limits.

Errors​

The most common authentication-related errors:

StatusReason
401 UnauthorizedAPI key is required. (no key) or Invalid API key. (unknown, revoked, or the provider is inactive)
429 Too Many RequestsRate limit exceeded

After repeated failed keys from one IP address, that address is temporarily answered with 429 instead of 401. A valid key is still accepted.

Full list: Errors.