at.happyproto.admin.listCustomers

happyproto.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "customer": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "handle": {
          "description": "Present when the membership record carries one.",
          "format": "handle",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "main": {
      "description": "The members of the customers space: everyone the customer endpoints admit. Staff only.",
      "errors": [
        {
          "description": "This endpoint requires an authenticated caller.",
          "name": "AuthRequired"
        },
        {
          "description": "The caller is not HappyProto staff.",
          "name": "Forbidden"
        },
        {
          "description": "The customers space is not configured or cannot be read.",
          "name": "Upstream"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "customers": {
              "items": {
                "ref": "#customer",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "customers"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "at.happyproto.admin.listCustomers",
  "lexicon": 1
}

Validate Record

Validate a record against at.happyproto.admin.listCustomers

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mo7vq4jbioxwafy5zkcc3eux
CID
bafyreidwtgyxnc5z7yxmjml4gtbwj7widfimgyivebwvbihbcan4r5s7tq
Indexed At
2026-10-19 18:20 UTC
AT-URI
at://did:plc:mo7vq4jbioxwafy5zkcc3eux/com.atproto.lexicon.schema/at.happyproto.admin.listCustomers

Similar Lexicons

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

  • Make an account a customer: add it to the customers space with read access. Adding an existing member succeeds and changes nothing. Staff only.

  • Stop an account being a customer: remove it from the customers space. Removing a non-member succeeds. Staff only.

  • Every customer invite, newest first: the address it went to, whether it is pending, expired or redeemed, and by which account. Staff only.

Lexicon Garden

@