Deposit pairing keys
Device Pairing
Deposit pairing keys
Deposit the phone’s public keys into a pairing.
PUT /api/v1/device-pairing/{pairing_id} — the phone deposits its public keys, gated by the
single-use bearer write token from the QR.
PUT
Deposit pairing keys
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Pairing id from the QR payload
Body
application/json
base64 (STANDARD) uncompressed P-256 public key, exactly 65 bytes, leading 0x04.
Example:
"BPvX1Yk2mN3oQ4rS5tU6vW7xZ8aB9cD0eF1gH2iJ3kL5mN7oP9qR1sT3uV5wX7yZ9aB1cD3eF5gH7iJ9kL1mN3o="
base64 (STANDARD) Ed25519 session public key, exactly 32 bytes.
Example:
"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8="
Response
Keys deposited; the write token is now spent