v1

Cli Auth Poll

Poll a device-code auth flow for its token.

Unauthenticated; the device code identifies the flow.

post/v1/auth/cli/poll

Request

  • Base URL
    https://api.ellipsis.dev
  • URL
    https://api.ellipsis.dev/v1/auth/cli/poll
  • Auth
    none declared

Request body

device_codestring required

The device code returned by POST /v1/auth/cli/start.

Response

Successful Response

access_tokenstring nullable

The user token, present only on the single approved response. Store it; it cannot be fetched again.

statusstring required

pending (keep polling) | approved (access_token is present, exactly once) | denied | expired | already_claimed (the token was already handed out).

Changes

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