app.zeens.getChatGate

zeens.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Return whether a sender may start/continue a conversation with a recipient, based on the recipient's chatPrefs and the follow relationship. Used by the server-side start gate.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "allow": {
              "enum": [
                "off",
                "mutuals",
                "everyone"
              ],
              "type": "string"
            },
            "bucket": {
              "enum": [
                "inbox",
                "requests"
              ],
              "type": "string"
            },
            "mutuals": {
              "type": "boolean"
            },
            "permitted": {
              "type": "boolean"
            }
          },
          "required": [
            "allow",
            "mutuals",
            "permitted"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "recipient": {
            "format": "did",
            "type": "string"
          },
          "sender": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "sender",
          "recipient"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.zeens.getChatGate",
  "lexicon": 1
}

Validate Record

Validate a record against app.zeens.getChatGate

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pwpuqwge6g7xrjmfbw73uycw
CID
bafyreidr7wzsskqxjlbsygfwf7bmnojr67sqvytfohnraxl6cgjo3u45vy
Indexed At
2026-10-22 16:31 UTC
AT-URI
at://did:plc:pwpuqwge6g7xrjmfbw73uycw/com.atproto.lexicon.schema/app.zeens.getChatGate

Similar Lexicons

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

  • A user's chat privacy preference: who may start a conversation with them. This is a public policy flag (not message content), so storing it in a public repo is fine. One record per user (rkey 'self'). The server-side ga…

  • Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.

  • Check whether the requester and the other members can start a 1-1 chat. Only applicable to direct (non-group) conversations. If an existing convo is found for these members, it is returned. Does not create a new convo i…

Lexicon Garden

@