com.atproto.server.createInviteCodes
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"accountCodes": {
"properties": {
"account": {
"type": "string"
},
"codes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"account",
"codes"
],
"type": "object"
},
"main": {
"description": "Create invite codes.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"codeCount": {
"default": 1,
"type": "integer"
},
"forAccounts": {
"items": {
"format": "did",
"type": "string"
},
"type": "array"
},
"useCount": {
"type": "integer"
}
},
"required": [
"codeCount",
"useCount"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"codes": {
"items": {
"ref": "#accountCodes",
"type": "ref"
},
"type": "array"
}
},
"required": [
"codes"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.atproto.server.createInviteCodes",
"lexicon": 1
}
Metadata
- DID
-
did:plc:6msi3pj7krzih5qxqtryxlzw - CID
-
bafyreidpwhayukm2ytzncekfinio4dehp5y6ksmwpvrxwl4fhdnqh62ewa - Indexed At
- 2026-02-18 18:59 UTC
- AT-URI
-
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.server.createInviteCodes
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
com.atproto.server.createInviteCode procedure
Create an invite code.
-
Get all invite codes for the current account. Requires auth.
-
com.atproto.admin.disableInviteCodes procedure
Disable some set of codes and/or all codes associated with a set of users.
-
app.tempomusic.staff.createInviteCode procedure
Generate a batch of single-use PDS invite codes (TEM-502). Requires the caller to have the `superAdmin` role. Each call requests `quantity` codes from the PDS (`com.atproto.server.createInviteCode` with `useCount=1`), w…