auth

Pair Device

Issue an API key for a desktop app that redirected the user here.

The desktop app starts a localhost HTTP server, then opens the browser to ctlsurf's /pair-device page. After the user approves, the frontend POSTs here and redirects the browser to redirect_uri?key=...

kind="sidekick" mints a first-party app key (cak_): one credential that does notebook/MCP access AND the managed Supporting Services (transcription + LLM), bound to the user's Business org. Any other kind mints a regular cpk_ MCP key.

post/api/auth/pair-device

Request

  • Base URL: https://app.ctlsurf.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.ctlsurf.com/api/auth/pair-device
  • Auth: HTTP bearer

Request body

namestring required
redirect_uristring required
kindstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.