Quickstart
Create an application, mint an API key, install an SDK, check what a customer can use, and verify webhooks.
Guides and the reference live in two places: the docs site for concepts and SDKs, and the API reference generated from the live OpenAPI spec.
Create an application, mint an API key, install an SDK, check what a customer can use, and verify webhooks.
Server SDKs and browser and mobile sign-in SDKs. The .NET SDK is on nuget.org; the status of each other language is listed on the page.
Applications, environments, customer organizations, roles, features, and plan limits, and how they fit together.
Hosted sign-in with passkeys, authenticator apps, and email or SMS codes, branded for your app.
Sign customers in from single-page and native apps with the standard PKCE flow.
Let an MCP client work with one application’s data using a scoped API key.
Background reading that is not specific to our API: how sign-in works, how to meter usage, how to separate customers, and how to receive webhooks safely.
Your first request
Create an organization API key in the console, keep it on your server, and call the runtime context endpoint before you run tenant-scoped work. The example uses a production key in TENANCYENGINE_API_KEY; a lab or staging key lives inTENANCYENGINE_API_KEY_LAB or TENANCYENGINE_API_KEY_STAGINGand is only ever sent to that platform.
curl "https://api.saasruntime.com/api/v1/runtime/applications/{applicationSlug}/context?environment=Production&tenantId={tenantId}" \
-H "X-TenancyEngine-Api-Key: $TENANCYENGINE_API_KEY"