com.atproto.admin.getInviteCodes
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get an admin view of invite codes.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"codes": {
"items": {
"ref": "com.atproto.server.defs#inviteCode",
"type": "ref"
},
"type": "array"
},
"cursor": {
"type": "string"
}
},
"required": [
"codes"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"limit": {
"default": 100,
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"sort": {
"default": "recent",
"knownValues": [
"recent",
"usage"
],
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "com.atproto.admin.getInviteCodes",
"lexicon": 1
}
Metadata
- DID
-
did:plc:6msi3pj7krzih5qxqtryxlzw - CID
-
bafyreiec5v6odvpqm3qfcxmuq5nihskij7xmb5nij32vve426z6s7tii24 - Indexed At
- 2026-02-18 18:51 UTC
- AT-URI
-
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.admin.getInviteCodes
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get all invite codes for the current account. Requires auth.
-
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 …
-
Lists a community's invitation codes.