Qeet Docs
API conventions

API conventions

How the Qeet ID REST API works across every endpoint — base URL, ApiKey and Bearer-JWT auth schemes, the error envelope, and cursor pagination.

The Qeet ID REST API is JSON over HTTPS, versioned under /v1/. This page covers the conventions that apply to every endpoint; for the endpoints themselves, see the interactive API reference at apis.qeet.in — the full OpenAPI surface in Swagger UI, with request/response schemas and a "Try it out" console (switchable across local / staging / production).

Text
https://api.id.qeet.in   (or your self-hosted base URL)

Self-hosted base URL

Qeet ID is self-hostable, so the base URL is whatever you deploy. Examples use https://api.id.qeet.in; substitute your own host. The OpenAPI servers list also includes local dev (:4000/ :4001).

Authentication schemes

There are several auth modes — use the right one per route:

SchemeHeaderUsed by
apiKeyAuthAuthorization: ApiKey qk_…Server-side API access.
bearerAuthAuthorization: Bearer <jwt>User / service ES256 JWTs.
scimBearerAuthorization: Bearer <scim-token>Per-tenant SCIM provisioning.
clientCredentialsform client_id/client_secret or HTTP BasicOAuth M2M token/revoke/introspect.
ssoCookieqe_ls cookie (HttpOnly)Hosted-login SSO session flows.

ApiKey ≠ Bearer

The API-key scheme is literally Authorization: ApiKey <key> — not Bearer. The Bearer scheme on the same authenticated routes is for user/service JWTs. Don't send a qk_… key as a Bearer token.

API key (server)
Bash
curl https://api.id.qeet.in/v1/users \
  -H "Authorization: ApiKey $QEETID_API_KEY"
User access token
Bash
curl https://api.id.qeet.in/v1/auth/me \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Endpoints

Every endpoint lives in the Qeet API portal at apis.qeet.in — the full OpenAPI surface in Swagger UI, grouped by bounded context, with request/response schemas and a "Try it out" console (local / staging / production selectable per request).

The protocol-level groups (OIDC/OAuth, SAML, SCIM, MFA, webhooks, audit, secrets, GDPR) are also documented as guides in their product sections — OIDC, Enterprise, MFA, and Platform.

Conventions

  • Tokens are ES256 JWTs verified against /.well-known/jwks.json.
  • Errors use a stable { "error": { "code", "message", … } } envelope — see Errors.
  • Lists are cursor-paginated (items + next_cursor) — see Pagination.
  • Request IDs are returned in the X-Request-Id header and echoed in error bodies.

On this page