com.atproto.server.getAccountInviteCodes

atproto-lexicons.bsky.social

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

Validate Record

Validate a record against com.atproto.server.getAccountInviteCodes

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:6msi3pj7krzih5qxqtryxlzw
CID
bafyreibeczlag36upzn67uqsheo4st47z7nbpvfrdgko777633saur7jui
Indexed At
2026-02-18 19:00 UTC
AT-URI
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.server.getAccountInviteCodes

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@