Poll a device_code until the user approves

Plaintext chrm_user_* token is returned exactly once when status flips to approved. Subsequent polls return approved with already_delivered: true and no token. The legacy /pair/poll path 308s here.

post/api/pair/poll

Request

  • Base URL: https://charm.ing
  • URL: https://charm.ing/api/pair/poll
  • Auth: none declared

Request body

device_codestring required

Response

Poll result

status'pending' | 'expired' | 'approved' required
tokenstring

Only on the first poll after approval. chrm_user_* plaintext, irrecoverable.

tokenPrefixstring
already_deliveredboolean

Changes

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