town.delve.membership.join

delve.town

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Join the town, or rejoin after withdrawing. An account hosted on the town's own PDS needs no code; any other account presents an invite code: either a town invite or a code a member took from Settings on the town's PDS, which the join then spends. Requires auth.",
      "errors": [
        {
          "description": "No valid invite for this account: missing, expired, spent, disabled, or bound to another account.",
          "name": "InvalidInvite"
        },
        {
          "name": "MembershipSuspended"
        },
        {
          "name": "MembershipChanged"
        },
        {
          "description": "This AppView does not admit accounts by membership.",
          "name": "MembershipDisabled"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "inviteCode": {
              "maxLength": 128,
              "type": "string"
            },
            "revision": {
              "description": "The membership revision the caller last saw; the join fails with MembershipChanged if it moved.",
              "type": "integer"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "membership": {
              "ref": "town.delve.membership.defs#membership",
              "type": "ref"
            }
          },
          "required": [
            "membership"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "town.delve.membership.join",
  "lexicon": 1
}

Validate Record

Validate a record against town.delve.membership.join

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

Metadata

DID
did:plc:qzqct2rrq4u2gmy5g3mjxske
CID
bafyreihdbi25x4eljtrec64u7ffxbzrxu23q5lela5opz2aoijmk427pz4
Indexed At
2026-09-11 20:05 UTC
AT-URI
at://did:plc:qzqct2rrq4u2gmy5g3mjxske/com.atproto.lexicon.schema/town.delve.membership.join

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Admits the requesting user to a community. Joining is an AppView procedure rather than a record the user writes, because admission is what makes the community's spaces readable to them.

  • town.delve.membership.getMembership querynot from the namespace authority

    The requesting account's standing in the town. Requires auth.

  • town.delve.membership.defs not from the namespace authority

    An account's standing in the town. Active members are indexed and served; withdrawn members keep what they posted but add nothing new; a suspended account is neither.

  • Ask to join, or redeem an invite. No role required; authenticated as the requester.

Lexicon Garden

@