social.colibri.beta.community.createInvitation
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Creates an invitation code for a community.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The requesting user lacks the invitation.create permission.",
"name": "Forbidden"
},
{
"description": "No community exists with that DID.",
"name": "CommunityNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"community": {
"description": "The community to create an invitation for.",
"format": "did",
"type": "string"
},
"expiresAt": {
"description": "When the invitation stops being redeemable, if ever.",
"format": "datetime",
"type": "string"
},
"maxUses": {
"description": "How many times the invitation may be redeemed, if limited.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"community"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"invitation": {
"description": "The newly created invitation.",
"ref": "social.colibri.beta.community.defs#invitationView",
"type": "ref"
}
},
"required": [
"invitation"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.community.createInvitation",
"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
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Creates an invitation code for a community.
-
Resolves an invitation code to its community, hydrated with the community's public details for the invite accept screen.
-
Lists a community's invitation codes.
-
Resolves an invitation code, so a client can show what it leads to before the user accepts. This is readable without membership.
-
Deletes an invitation code.