{
"id": "social.colibri.beta.community.createInvitation",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"community"
],
"properties": {
"maxUses": {
"type": "integer",
"minimum": 1,
"description": "How many times the invitation may be redeemed, if limited."
},
"community": {
"type": "string",
"format": "did",
"description": "The community to create an invitation for."
},
"expiresAt": {
"type": "string",
"format": "datetime",
"description": "When the invitation stops being redeemable, if ever."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthRequired",
"description": "The request is missing, malformed, or unverifiable service auth."
},
{
"name": "Forbidden",
"description": "The requesting user lacks the invitation.create permission."
},
{
"name": "CommunityNotFound",
"description": "No community exists with that DID."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"invitation"
],
"properties": {
"invitation": {
"ref": "social.colibri.beta.community.defs#invitationView",
"type": "ref",
"description": "The newly created invitation."
}
}
},
"encoding": "application/json"
},
"description": "Creates an invitation code for a community."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:mprdjqjluoswa7awzggaggj3
- CID
-
bafyreihl43bk4xbssi4jrpg7ete3dn7zsywfazxcup57pgwkgddvpbi2ym
- Indexed At
- 2026-08-23 12:32 UTC
- AT-URI
-
at://did:plc:mprdjqjluoswa7awzggaggj3/com.atproto.lexicon.schema/social.colibri.beta.community.createInvitation