API documentation
Build integrations or your own client for K8 HQ. Each guide has its own address, request examples, permissions, responses and downloadable OpenAPI description.
Content API
Work with mail, contact books, boards and events using scoped API tokens. The guide also covers Forms, which requires a signed-in session. Decrypted mail content requires a readable inbox and the appropriate content permission; zero-access inboxes return encrypted content. Read how inbox modes protect your mail.
Read the Content API guide · OpenAPI JSON
Sign-in API
Build the account and sign-in parts of a client: passkeys, sessions, organization membership and access tokens.
Read the Sign-in API guide · OpenAPI JSON
Setup API
Set up and manage organizations, domains, inboxes and services. These operations use a signed-in session; sensitive changes also require passkey confirmation.
Read the Setup API guide · OpenAPI JSON
Getting started
For an integration, sign in to the web app, choose your organization, and open Settings → Organization → Access to create a token. Choose “Script or integration (the API)”, which includes API access, and grant only the resource permissions your integration needs. Follow the Content API guide's authentication and first-request examples.
For a full client, start with the Sign-in API, then use the Setup API for organization management. Follow each guide's authentication requirements: API tokens and signed-in sessions serve different purposes.
Access depends on permissions, resource grants and the organization's enabled services. Some services require beta opt-in. See the selected guide for the applicable requirements and errors.
Connecting Apple Mail, Outlook or another mail app instead? Use the mail app setup guides.