# tools.umbrae.private.requestFollow

> Ask a private account to approve the caller as a follower. The owner approves by adding the caller to its followers space with putMembers, and refuses by dismissing the request; the app drops a request once it's approved. Served by the account's serving app (the servingApp of its declaration), with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the app.

- Kind: procedure
- 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.requestFollow)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.private.requestFollow/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.private.requestFollow/analytics)

## Procedure (`tools.umbrae.private.requestFollow`)

Type: procedure · POST

### Input (application/json)

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

### Output (application/json)

- `state` (string, required)
  - Constraints: knownValues: requested | allowed

### Errors

- `AccountNotFound`: Not a private account this app serves.
- `NotAllowed`: A block between the caller and the account.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Ask a private account to approve the caller as a follower. The owner approves by adding the caller to its followers space with putMembers, and refuses by dismissing the request; the app drops a request once it's approved. Served by the account's serving app (the servingApp of its declaration), with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the app.",
      "errors": [
        {
          "description": "Not a private account this app serves.",
          "name": "AccountNotFound"
        },
        {
          "description": "A block between the caller and the account.",
          "name": "NotAllowed"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "actor": {
              "description": "The private account.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "actor"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "state": {
              "knownValues": [
                "requested",
                "allowed"
              ],
              "type": "string"
            }
          },
          "required": [
            "state"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.umbrae.private.requestFollow",
  "lexicon": 1
}
```
