CliLogin

Poll a CLI sign-in

The CLI's poll. pending until the person decides; denied if they canceled; expired after ten minutes or once the key was handed out. approved returns a new API key for the workspace they picked, once.

post/cli/login/token

Request

  • Base URL: https://api.supersendtx.com
  • URL: https://api.supersendtx.com/cli/login/token
  • Auth: none required

Request body

device_codestring required

Response

Current status, with the key when approved

status'pending' | 'approved' | 'denied' | 'expired' required
api_keystring

Only when approved, and only once. A full-scope key for the workspace the person picked.

Changes

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