Documentation

Heimdall

Authentication and authorization for multi-tenant products. This documentation covers everything you need to integrate Heimdall into your application, from first API call to production deployment.

Base URL

https://api.productcraft.co/heimdall/v1

All endpoints are relative to this base URL. Requests must include an Authorization header with a valid bearer token unless otherwise noted.

Authentication

Heimdall uses two types of credentials:

  • Admin API keys for managing Apps, Roles, and Users. Include as a bearer token in the Authorization header.
  • App tokens (JWT) for authenticating end users and services. Issued by Heimdall, verified locally via JWKS or through the verify endpoint.