Documentation / Getting started
Base URL and authentication
The base URL is https://api.akwito.eu: the API is served on that host only, not on akwito.eu. All routes are under /v1, with one exception: /mcp (the MCP server, see below) is the only route outside /v1. The service speaks JSON only (application/json; charset=utf-8), except the PDF attestation route which returns application/pdf.
Every route except GET /v1/health requires an API key:
Authorization: Bearer ak_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
A missing or malformed header, or an unknown/revoked key, returns 401 UNAUTHORIZED. Keys are created and revoked from the dashboard, on the API keys page (/app/keys); a key is either live (ak_live_…) or test (ak_test_…, see Test keys). A live key can only be created once the account's e-mail address is confirmed. Keys are shown once at creation time and stored hashed.
A suspended account gets 401 UNAUTHORIZED on every API route and cannot open a dashboard session either.
A forgotten dashboard password is reset from the Forgot your password? link on the sign-in page (/password/forgot): a link to choose a new one is sent to the account's e-mail address.