social.colibri.beta.community.createInvitation

colibri.social

{
  "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
}

Validate Record

Validate a record against social.colibri.beta.community.createInvitation

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

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)

Lexicon Garden

@