Skip to main content

How do I authenticate Enso Quoter requests?

Use the same Developer Portal API key as the main Enso API. Pass it as a Bearer token or as an api_key query parameter to https://quoter.api.enso.build.

J
Written by Javier Diaz

Use the same Developer Portal API key as the main Enso API. Pass it as a Bearer token in the Authorization header, or as an api_key query parameter, when you call https://quoter.api.enso.build.

Definition

Quoter is a separate base URL from the main Enso API, but it does not use a different key. A missing or invalid key returns HTTP 401.

How it works

  • Create or copy a key in the Developer Portal.

  • Send Authorization: Bearer YOUR_API_KEY on simulate and validate requests, or append ?api_key=YOUR_API_KEY to the URL.

  • Use https://quoter.api.enso.build — not https://api.enso.build — for /api/v1/simulate, /api/v1/simulate/batch, and /api/v1/validate.

  • If you receive 401, check that the key is present, current, and not a retired legacy key.

  • For 429, back off and retry; do not treat that as an auth failure.

How Enso does this

The Quoter overview and Quoter FAQ document this authentication. Note the query parameter name is api_key on Quoter. The main Enso API docs also describe Bearer authentication for api.enso.build.

FAQ

Do I need a separate key for Quoter?

No. The same Developer Portal key works for Quoter and for the main Enso API.

Can I call Quoter without a key?

A missing or invalid key returns 401. Get a key from the Developer Portal before integrating.

Related articles

  • How do I get an Enso API key?

  • How do I authenticate Enso API requests?

  • Why did the Enso API return 401?

  • What should I do if Enso Quoter returns 429?

  • What is Enso Quoter?

Sources

Did this answer your question?