Skip to main content

How do I use the documentation sandbox vs a production key?

The API documentation sandbox does not require authentication. For building and production, use a dedicated API key from the Developer Portal.

J
Written by Javier Diaz

The API documentation sandbox does not require authentication. For building and production, use a dedicated API key from the Developer Portal on every request.

Definition

The sandbox is the interactive API explorer in the docs, so you can try endpoints without wiring a key. Production traffic is authenticated and counted against your rate limit and monthly credits.

How it works

  • In the docs API overview, you can explore endpoints in the sandbox without a key.

  • For your own app, create an API key in the Developer Portal, store it privately, and send it as Authorization: Bearer or as an apikey query parameter.

  • Verify the key with GET https://api.enso.build/api/v1/account/accountId before you build routes.

  • Do not ship a documentation or shared example key in a product.

How Enso does this

The API overview states that the sandbox does not require authentication, and that building and production use cases must use a dedicated API key. Authentication covers how to pass the key, rate limits, and credit headers.

FAQ

Will a sandbox call work with my production integration?

Use it to inspect a response shape. Production must use your own key, the https://api.enso.build host, and the same fields your app will send.

What happens if I forget the key in production?

The API returns 401, with invalid_api_key when the key is missing or not accepted.

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 does invalid_api_key mean?

  • Where are the Enso docs and status page?

Sources

Did this answer your question?