auth

Claim a transferred session token (CLI loopback poll)

The CLI polls with the nonce it generated; on a match within the 60s window it receives the raw session token (single-use).

post/api/v0/auth/cli/claim

Request

  • Base URL: https://api.harmont.dev
  • URL: https://api.harmont.dev/api/v0/auth/cli/claim
  • Auth: none required

Request body

noncestring required

The nonce the CLI generated for this loopback handoff.

Example request

{
  "nonce": "a7Kp...random"
}

Response

The session token

tokenstring required

The raw session bearer token. Send it as Authorization: Bearer <token>.

Changes

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