{
"id": "com.atproto.server.createInviteCodes",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"codeCount",
"useCount"
],
"properties": {
"useCount": {
"type": "integer"
},
"codeCount": {
"type": "integer",
"default": 1
},
"forAccounts": {
"type": "array",
"items": {
"type": "string",
"format": "did"
}
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"codes"
],
"properties": {
"codes": {
"type": "array",
"items": {
"ref": "#accountCodes",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"description": "Create invite codes."
},
"accountCodes": {
"type": "object",
"required": [
"account",
"codes"
],
"properties": {
"codes": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:6msi3pj7krzih5qxqtryxlzw
- CID
-
bafyreidpwhayukm2ytzncekfinio4dehp5y6ksmwpvrxwl4fhdnqh62ewa
- Indexed At
- 2026-01-09 12:47 UTC
- AT-URI
-
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.server.createInviteCodes