com.atproto.server.getAccountInviteCodes
{
"$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
}
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.
-
com.atproto.server.createInviteCodes procedure
Create invite codes.
-
Get an admin view of invite codes.
-
com.atproto.server.createInviteCode procedure
Create an invite code.
-
List PDS invite codes on-demand via the PDS (`com.atproto.admin.getInviteCodes`). No local mirror — the source of truth is the PDS. Requires the caller to have the `superAdmin` role. Codes are returned as suffix-only …