GET /codegen

Available

Typed-key codegen for the @ctrlapp/cli. Personal Access Token auth.

GEThttps://ctrlapp.krdcode.com/api/public/sdk/v1/codegen
Auth: Bearer <PAT>

PAT-only. Dashboard-issued personal access token. Never ship a PAT in browser or mobile code.

Auth

Not a publishable key. Send Authorization: Bearer <personal_access_token>. The token maps to a dashboard user; access is checked against that user's roles on the target app.

Query

  • app — required, app id.
  • langts (default), dart, kotlin, swift, csharp.

Errors

  • 400"Missing ?app=".
  • 401 — bad or missing PAT.
  • 403 — PAT owner has no access to that app.
Back to top