pair_exchange
Remote listener only. Trades a one-time pairing code for a device token. Rate-limited per peer IP; every attempt counts.
Request Body required
Section titled “Request Bodyrequired”object
Browser flow: set HttpOnly session cookies instead of returning the token.
Responses
Section titled “Responses”object
A paired remote device. The bearer token itself is never stored; only its
SHA-256 digest is (see remote::hash_token).
object
view (read-only) or decide (adds decision, cancel and test requests).
Long-lived device token (hu_ + 64 hex). Omitted in the cookie flow.
This computer’s name (its hostname), so a device paired with several computers can tell them apart. Absent when unknown.
Invalid, used, or expired code
Rate limited