sintoniadocs
API reference

Device and key APIs

Registration proofs, QR offers, sealed packages and unlinking.

On this pageDevice identityCurrent QR flowChannel packagesRevocation

Device identity#

POST /api/devices registers public exchange/signing keys and a self-signature. GET /api/devices lists the account's devices, including historical revoked entries needed to verify descendants. The first identity becomes the root; later identities remain pending until approved.

Current QR flow#

The authorized source creates /api/devices/{source}/link-offer. The pending target claims it after scanning; both calculate a six-digit code. The source explicitly approves the claim, consuming the offer. Offers last five minutes and rotation invalidates the old one. The compact QR uses the sintonia://link/v3/... scheme. Legacy v2 routes remain for compatibility, not new client flows.

Channel packages#

Directory and package routes are /channels/{id}/devices, /channels/{id}/keys and /keys/initialize. Packages are signed and encrypted for a recipient device. Initialization is serialized and cannot silently replace existing history. cryptoContext identifies the key-package context; new federation-compatible channels qualify it with the responsible instance ID.

Revocation#

DELETE /api/devices/{id} requires an authorized sourceDeviceId and an Ed25519 signature. It revokes associated sessions, blocks future use, preserves historical proofs and invalidates dependent recovery backup data. The last authorized device is protected. It does not erase received keys or rotate channel secrets.

Search channels, QR codes, uploads, security…

↑ ↓ navigate ↵ open result