Skip to main content
GET
/
v1
/
keys
/
bundles
/
{userId}
Get key bundle
curl --request GET \
  --url https://api.magne.app/v1/keys/bundles/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "deviceId": "<string>",
  "identityKey": "<string>",
  "signedPreKey": {
    "keyId": 123,
    "publicKey": "<string>",
    "signature": "<string>"
  },
  "oneTimePreKey": {
    "keyId": 123,
    "publicKey": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string<uuid>
required

Response

Success

deviceId
string
identityKey
string
signedPreKey
object
oneTimePreKey
object