# club.hellyeah.account.getState

> Where the caller's DID stands. Requires service auth.

- Kind: query
- Authority: account.hellyeah.club
- Lexicon: 1
- Published by [hellyeah.club](https://lexicon.garden/identity/did:plc:ce2gpmv3q5a4xlnpt63e4nsn), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:ce2gpmv3q5a4xlnpt63e4nsn/club.hellyeah.account.getState)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ce2gpmv3q5a4xlnpt63e4nsn/club.hellyeah.account.getState/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ce2gpmv3q5a4xlnpt63e4nsn/club.hellyeah.account.getState/analytics)

## Query (`club.hellyeah.account.getState`)

Type: query · GET

### Output (application/json)

- `hasEmail` (boolean, required)
- `state` (string, required)
  - Constraints: knownValues: visitor | invited | claimant | member | removed

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Where the caller's DID stands. Requires service auth.",
      "errors": [],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "hasEmail": {
              "type": "boolean"
            },
            "state": {
              "knownValues": [
                "visitor",
                "invited",
                "claimant",
                "member",
                "removed"
              ],
              "type": "string"
            }
          },
          "required": [
            "state",
            "hasEmail"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "club.hellyeah.account.getState",
  "lexicon": 1
}
```
