# pub.techne.draft.identity.listMethods

> The caller's sign-in methods (masked, with their recovery mark and freeze), its pending changes, and the other accounts of its person (`links`, each `did`, `since` and `mutual`, always true; linked accounts have no primary). Emails and phones only unless `allTypes` (shipped clients label every row as an email). Signed-in members only.

- Kind: query
- Authority: identity.draft.techne.pub
- Lexicon: 1
- Published by [lexicons.techne.town](https://lexicon.garden/identity/did:plc:cbtfheqpi4g6vlrha4tpoh53), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.identity.listMethods)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.identity.listMethods/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:cbtfheqpi4g6vlrha4tpoh53/pub.techne.draft.identity.listMethods/analytics)

## Query (`pub.techne.draft.identity.listMethods`)

Type: query · GET

### Parameters (query string)

- `allTypes` (boolean): Also list passkeys, Nostr keys and the recovery-code set.

### Output (application/json)

- `links` (array, required): The other accounts of the caller's person (linked with identity.manageMethods moveMethod), each with `did`, `since` and `mutual` (always true); linked accounts have no primary. Empty when it is alone.
  - `items` (ref)
    - Reference: `pub.techne.draft.identity.defs#linkView`
- `methods` (array, required)
  - `items` (ref)
    - Reference: `pub.techne.draft.identity.defs#methodView`
- `pending` (array): The account's pending changes, soonest first (the account page shows them at the top, with Cancel), a move of one of its methods onto another account included.
  - `items` (ref)
    - Reference: `pub.techne.draft.identity.defs#pendingChange`

### Errors

- `AuthenticationRequired`: No signed-in caller.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The caller's sign-in methods (masked, with their recovery mark and freeze), its pending changes, and the other accounts of its person (`links`, each `did`, `since` and `mutual`, always true; linked accounts have no primary). Emails and phones only unless `allTypes` (shipped clients label every row as an email). Signed-in members only.",
      "errors": [
        {
          "description": "No signed-in caller.",
          "name": "AuthenticationRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "links": {
              "description": "The other accounts of the caller's person (linked with identity.manageMethods moveMethod), each with `did`, `since` and `mutual` (always true); linked accounts have no primary. Empty when it is alone.",
              "items": {
                "ref": "pub.techne.draft.identity.defs#linkView",
                "type": "ref"
              },
              "type": "array"
            },
            "methods": {
              "items": {
                "ref": "pub.techne.draft.identity.defs#methodView",
                "type": "ref"
              },
              "type": "array"
            },
            "pending": {
              "description": "The account's pending changes, soonest first (the account page shows them at the top, with Cancel), a move of one of its methods onto another account included.",
              "items": {
                "ref": "pub.techne.draft.identity.defs#pendingChange",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "methods",
            "links"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "allTypes": {
            "description": "Also list passkeys, Nostr keys and the recovery-code set.",
            "type": "boolean"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.techne.draft.identity.listMethods",
  "lexicon": 1
}
```
