# tools.umbrae.private.getAccess

> The caller's own standing with a private account. Served and authenticated as tools.umbrae.private.requestFollow.

- Kind: query
- Authority: private.umbrae.tools
- Lexicon: 1
- Published by [lexicons.umbrae.tools](https://lexicon.garden/identity/did:plc:656sqbhftme2qbyjtcc2q6jk), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.private.getAccess)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.private.getAccess/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.private.getAccess/analytics)

## Query (`tools.umbrae.private.getAccess`)

Type: query · GET

### Parameters (query string)

- `actor` (string · did, required): The private account.

### Output (application/json)

- `state` (string, required): owner: the caller is the account. allowed: the caller passes its rules now. requested: a follow request is waiting. none: anything else.
  - Constraints: knownValues: owner | allowed | requested | none

### Errors

- `AccountNotFound`: Not a private account this app serves.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The caller's own standing with a private account. Served and authenticated as tools.umbrae.private.requestFollow.",
      "errors": [
        {
          "description": "Not a private account this app serves.",
          "name": "AccountNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "state": {
              "description": "owner: the caller is the account. allowed: the caller passes its rules now. requested: a follow request is waiting. none: anything else.",
              "knownValues": [
                "owner",
                "allowed",
                "requested",
                "none"
              ],
              "type": "string"
            }
          },
          "required": [
            "state"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "The private account.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "tools.umbrae.private.getAccess",
  "lexicon": 1
}
```
