GET/auth/device-pairing/{pairingId}
Fetch a pending device pairing request
Operation auth.devicePairing.get
Description
Returns the new device's public keys and self-signature for a pending pairing rendezvous. The approving device never trusts the server alone: it verifies the self-signature and compares the keys against the out-of-band QR commitment or SAS code before committing a successor device state.
Authentication
Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
pairingId | path | string | required
|
Responses
200 OK
application/jsonGetDevicePairingResponse
Pending device pairing details returned to an authenticated approving device.
6 fields
deviceIdstringrequired- lowercase UUID v4
UUIDv4 of the new device requesting enrollment.
encapsulationPublicKeystringrequired- exactly 2,092 characters
- base64, pattern
^(?:[A-Za-z0-9+/]{4}){522}[A-Za-z0-9+/]{2}[AEIMQUYcgkosw048]=$
Base64 ML-KEM-1024 public key of the new device.
expiresAtstringrequired- 1 to 64 characters
ISO-8601 UTC expiration timestamp of the rendezvous.
pairingIdstringrequired- exactly 32 characters
- pattern
^[0-9a-f]{32}$
128-bit hex identifier of the rendezvous.
selfSignaturestringrequired- exactly 6,172 characters
- base64, pattern
^(?:[A-Za-z0-9+/]{4}){1542}[A-Za-z0-9+/][AQgw]==$
Base64 ML-DSA-87 proof-of-possession signature.
signingPublicKeystringrequired- exactly 3,456 characters
- base64, pattern
^(?:[A-Za-z0-9+/]{4}){864}$
Base64 ML-DSA-87 public key of the new device.
Other fields are allowed.
Other responses
| Status | Meaning | Body |
|---|---|---|
| 400 | Bad Request |
|
| 401 | Unauthorized |
|
| 404 | Not Found |
|
| 500 | Internal Server Error |
|
| 503 | Service Unavailable |
|