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

com.atproto.server.createInviteCodes

atproto-lexicons.bsky.social

Documentation

main procedure

Create invite codes.

Input

Encodingapplication/json
codeCount integer Required

No description provided.

forAccounts array Optional

No description provided.

useCount integer Required

No description provided.

Output

Encodingapplication/json
codes array 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": [
        "codeCount",
        "useCount"
      ],
      "properties": {
        "useCount": {
          "type": "integer"
        },
        "codeCount": {
          "type": "integer",
          "default": 1
        },
        "forAccounts": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "did"
          }
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "codes"
      ],
      "properties": {
        "codes": {
          "type": "array",
          "items": {
            "ref": "#accountCodes",
            "type": "ref"
          }
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Create invite codes."
}
accountCodes object

Properties

account string Required

No description provided.

codes array of string Required

No description provided.

View raw schema
{
  "type": "object",
  "required": [
    "account",
    "codes"
  ],
  "properties": {
    "codes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "account": {
      "type": "string"
    }
  }
}

Lexicon Garden

@