server

Redeem pairing code

Redeem a pairing code. Browsers receive a session cookie and a redirect to the web app; requests that accept JSON receive a session token to use as the password.

get/auth/connect/{code}

Request

  • Base URL: https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL: https://opencode.ai/auth/connect/{code}
  • Auth: none required

Path parameters

codestring required

Response

PairingSession

tokenstring required

Changes

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