OAuth 2.1

Oauth2 Device Authorize

OAuth 2.1 Device Authorization Endpoint. Возвращает device_code и user_code для устройств без браузера. Public IDE plugins (cursor-plugin, …) skip client_secret (RFC 8628).

post/api/oauth2/device/authorize

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/oauth2/device/authorize
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Response

Successful Response

unknown required

Changes

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