E2EE

Upload or reconcile a saved key bundle

Stores the user's identity key, signed prekey, one-time prekey batch, and Kyber prekey batch (post-quantum hybrid). Identical retries preserve consumed prekeys. A different identity or signed prekey requires explicit recovery; never automatically revoke saved keys. A prekey material conflict returns key_prekey_conflict; an owner-bound client may verify allocation bounds and retry with fresh IDs while retaining private records.

post/devices/keys/upload

Request

  • Base URL
    https://api.shopseen.com/v1
  • Auth
    HTTP bearer

Request body

owner_user_idstring uuid

Must match the authenticated account when supplied

existing_onlyboolean

Legacy unbound material may only reconcile an existing matching registry

identity_key_pubstring required

Base64-encoded 33-byte libsignal IdentityKey

Response

Keys uploaded

messagestring
one_time_prekey_countinteger
kyber_prekey_countinteger

Changes

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