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

com.atproto.server.getAccountInviteCodes

atproto-lexicons.bsky.social

Documentation

main query

Get all invite codes for the current account. Requires auth.

Parameters

createAvailable boolean Optional

Controls whether any new 'earned' but not 'created' invites should be created.

includeUsed boolean Optional

No description provided.

Output

Encodingapplication/json
codes array Required

No description provided.

Errors

DuplicateCreate
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": "query",
  "errors": [
    {
      "name": "DuplicateCreate"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "codes"
      ],
      "properties": {
        "codes": {
          "type": "array",
          "items": {
            "ref": "com.atproto.server.defs#inviteCode",
            "type": "ref"
          }
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "properties": {
      "includeUsed": {
        "type": "boolean",
        "default": true
      },
      "createAvailable": {
        "type": "boolean",
        "default": true,
        "description": "Controls whether any new 'earned' but not 'created' invites should be created."
      }
    }
  },
  "description": "Get all invite codes for the current account. Requires auth."
}

Lexicon Garden

@