Backfill in-progress. Some lexicons and records may be missing or incomplete.

com.atproto.server.createInviteCode

atproto-lexicons.bsky.social

Documentation

main procedure

Create an invite code.

Input

Encodingapplication/json
forAccount stringdid Optional

A decentralized identifier (DID).

useCount integer Required

No description provided.

Output

Encodingapplication/json
code string Required

No description provided.

Try It

Direct PDS XRPC methods (com.atproto.*) are disabled in Try It for security reasons.

These methods interact directly with Personal Data Servers and require careful handling. Use a dedicated client or CLI tool instead.
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "useCount"
      ],
      "properties": {
        "useCount": {
          "type": "integer"
        },
        "forAccount": {
          "type": "string",
          "format": "did"
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "code"
      ],
      "properties": {
        "code": {
          "type": "string"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Create an invite code."
}

Lexicon Garden

@