ai.newnal.illi.home.setCustodyKey

illi-service.newnal.id

Documentation

Publish the root admin's X25519 custody public key on their member record; the private key stays in the root admin's Private Sphere.

main procedure

Publish the root admin's X25519 custody public key on their member record; the private key stays in the root admin's Private Sphere.

Input

Encodingapplication/json
homeId stringtid Required

A timestamp-based identifier (TID).

keyId string Required

No description available.

maxLength: 64 bytes
publicKey string Required

base64url X25519 public key

Output

Encodingapplication/json
keyId string Required

No description available.

uri stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

Errors

NotRootAdmin
HomeNotFound
PdsUnavailable
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Publish the root admin's X25519 custody public key on their member record; the private key stays in the root admin's Private Sphere.",
  "errors": [
    {
      "name": "NotRootAdmin"
    },
    {
      "name": "HomeNotFound"
    },
    {
      "name": "PdsUnavailable"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "homeId": {
          "format": "tid",
          "type": "string"
        },
        "keyId": {
          "maxLength": 64,
          "type": "string"
        },
        "publicKey": {
          "description": "base64url X25519 public key",
          "type": "string"
        }
      },
      "required": [
        "homeId",
        "keyId",
        "publicKey"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "keyId": {
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "keyId"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@