W

WorkOS REST API (AuthKit and broader WorkOS API)

REST discovered

Details
URL
https://api.workos.com
Docs
https://workos.com/docs/reference
Authentication
WorkOS API key bearer discovered Get token ↗
Authorization: Bearer <credential>

In the WorkOS Dashboard API Keys page, create or copy an environment API key (sk_test_... or sk_live_...). For zero-account temporary environments, you can also provision one automatically by running `npx workos@latest install` or by calling `POST /x/one-shot-environments`; that returns an apiKey you can use immediately.