ecenticecentic
How it worksResourcesPricingBlog
Install now
ASCII-art illustration of a shield

Self-serve keys · Bearer tokens · OAuth metadata

ecentic API authentication.

Public discovery needs no credential at all. Anything that reads or changes a merchant account takes a bearer key you mint yourself — no sales call, no manual provisioning.

Back to docs
01

What needs no key

Discovery is open, deliberately.

no credential required
GET  https://ecentic.ai/api/v1
GET  https://ecentic.ai/api/v1/plans
GET  https://ecentic.ai/api/v1/onboarding
POST https://ecentic.ai/api/v1/sandbox/simulation

Every endpoint under /api/v1 answers without an Authorization header, as do the well-known discovery documents, the OpenAPI document, and the MCP list_plans tool. An agent can learn the whole shape of the API — endpoints, plans, protocols, skills, rate limits, error codes — before anyone has created an account.

The sandbox is open too: POST /api/v1/sandbox/simulation returns the exact response shape of a real simulation, computed from synthetic scoring, so a client can be written and tested with no credential at all.

02

Minting a key

Two self-serve routes, both under your control.

Create an account, then mint a key either from the dashboard or by calling the create_api_key MCP tool from an authenticated session. Keys look like ecentic_sk_…, are long-lived, and are shown exactly once — ecentic stores only a hash, so a lost key is replaced rather than recovered.

Rotate by minting a new key and revoking the old one. Nothing about the process requires contacting a human.

Full registration guide
03

Sending a key

One header, everywhere.

Authorization: Bearer ecentic_sk_…
Content-Type: application/json

Send the key as a bearer token on every protected request. The same header works on the REST surface and on MCP tool calls.

Do not put the key in a query string: query strings end up in logs, proxies, and referrer headers, and ecentic will not read one from there.

04

When it fails

A 401 tells you where to go next.

401
WWW-Authenticate: Bearer resource_metadata="https://ecentic.ai/.well-known/oauth-protected-resource"
Content-Type: application/problem+json

{"type":"https://ecentic.ai/docs/errors#unauthenticated","code":"unauthenticated", ...}

A missing or invalid credential returns HTTP 401 with a WWW-Authenticate header naming the Protected Resource Metadata document (RFC 9728). Following it leads to the authorization server metadata (RFC 8414), so a client that hits a 401 can discover how to authenticate without a human reading documentation.

On the REST surface the body is an RFC 9457 problem with code: "unauthenticated". On the MCP endpoint it is a JSON-RPC error with code -32001 and a resource_metadata hint in error.data.

DocsMCP server

Credentials are never required to evaluate ecentic — only to act on a merchant account.

Get picked by AI

Ready to be the product agents recommend?

Install free on Shopify or WooCommerce and see your AI score in minutes.

Install on ShopifyInstall on WooCommerce
ecentic

Win every AI shopping agent's cart.

Built for the agent economy
Product
  • Features
  • How it works
  • Pricing
  • Product Listings
Platforms
  • Shopify
  • WooCommerce
  • Enterprise
Resources
  • Developer docs
  • API reference
  • Resources
  • Blog
  • Compare
  • UCP Validator
  • UCP Playground
  • Book a demo
Company
  • Support
  • Privacy policy
  • Terms of service

© 2026 ecentic. All rights reserved.

Made for merchants who refuse to be invisible to AI.