Poll for approved device token

Poll every interval seconds using the device_code returned by POST /api/agent-auth/device. Treat authorization_pending as a normal in-progress state.

post/api/agent-auth/token

Request

  • Base URL: https://goyondo.run
  • URL: https://goyondo.run/api/agent-auth/token
  • Auth: none required

Request body

device_codestring required

Example request

{
  "device_code": "<opaque 64-char hex>"
}

Response

Approved access token

access_tokenstring
token_typestring
scopestring

Example response

{
  "access_token": "gyd_...",
  "token_type": "bearer",
  "scope": "trips:read trips:write"
}

Changes

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