Skip to main content
The Droplinked API exposes four access tiers. Pick the one that matches what you’re building. The live OpenAPI spec declares the first two machine-readable schemes:

Public endpoints (no auth)

Public read paths are open and unauthenticated — built for storefronts, catalogs, and AI agents that read a merchant’s published inventory.

Shop API key

A shop API key is the credential for server-to-server integrations scoped to one merchant’s shop. It is the scheme used across the partner-facing surfaces in these docs. Send it in the x-droplinked-api-key header:
Two fallbacks are accepted for gateway compatibility and are checked in this order:
  1. x-droplinked-api-key header (preferred)
  2. x-gravitee-api-key header
  3. ?api_key= query parameter — avoid this: query strings land in access logs and browser history. Use a header.

Key lifecycle

Keys are created and managed by the merchant on their own shop, under a merchant JWT: Keys are stored as a SHA-256 hash — the plaintext is returned once, at creation, and cannot be recovered afterwards. Keys may carry an expiry; an expired key is marked EXPIRED on first use and rejected from then on. Rotate by calling regenerate, deploying the new value, then confirming the old one is no longer in use.

Merchant / customer JWT (Bearer)

Authenticated actions (managing a shop, products, carts, orders) use a Bearer JWT.
Auth routes are aggressively throttled — plan your integration tests around it. POST /merchant/login allows 5 attempts per 15 minutes, enforced both per-IP and per-email, so rotating source IPs does not widen the window. The sixth attempt returns 429 regardless of whether the credentials are correct. Full table on Rate limits.

Integration key (server-to-server)

Partner/integration services authenticate to the Integration Services layer with an integration-api-key header. This is for backend-to-backend calls, not browser or agent clients.
This key also gates the PSP callback ingress (POST /payment/webhook/generic). Treat it as a payment credential: it is one of the two factors that can move an order to paid. See Webhooks.

Handling credentials

  • Never ship a key in front-end code, a mobile bundle, or a public repository.
  • Use one key per integration so you can revoke a single consumer without an outage.
  • Rotate on staff changes and on any suspected exposure — regenerate is online and does not require support.
  • Droplinked never asks for your key over email or chat.

Next: environments

Base URLs for production and development.