## List active verifications

`app.setup.verifications.list()  -> VerificationListResponse`

**get** `/v1/app/setup/verifications`

List pending and active device verifications. Use this to recover state without a WebSocket connection.

### Returns

- `class VerificationListResponse: …`

  - `items: List[Item]`

    - `id: str`

      Verification ID to pass in verification action paths.

    - `available_actions: List[Literal["accept", "cancel", "qr.confirmScanned", 2 more]]`

      Verification actions that are valid for the current state.

      - `"accept"`

      - `"cancel"`

      - `"qr.confirmScanned"`

      - `"sas.start"`

      - `"sas.confirm"`

    - `direction: Literal["incoming", "outgoing"]`

      Whether this device started or received the verification.

      - `"incoming"`

      - `"outgoing"`

    - `methods: List[Literal["qr", "sas"]]`

      Verification methods supported for this transaction.

      - `"qr"`

      - `"sas"`

    - `purpose: Literal["login", "device"]`

      Why this verification exists.

      - `"login"`

      - `"device"`

    - `state: Literal["requested", "ready", "sas_ready", 4 more]`

      Current trusted-device verification state.

      - `"requested"`

      - `"ready"`

      - `"sas_ready"`

      - `"qr_scanned"`

      - `"done"`

      - `"cancelled"`

      - `"error"`

    - `error: Optional[ItemError]`

      Verification error details, if verification stopped.

      - `code: str`

        Verification error code.

      - `reason: str`

        User-facing verification error message.

    - `other_device: Optional[ItemOtherDevice]`

      Other device participating in verification.

      - `id: str`

        Other device ID.

      - `name: Optional[str]`

        Other device display name, if known.

    - `other_user_id: Optional[str]`

      Other Beeper user participating in verification.

    - `qr: Optional[ItemQR]`

      QR verification data.

      - `data: str`

        QR code payload to display for verification.

    - `sas: Optional[ItemSAS]`

      Emoji or number comparison data for verification.

      - `emojis: str`

        Emoji sequence to compare on both devices.

      - `decimals: Optional[str]`

        Number sequence to compare on both devices.

### Example

```python
import os
from beeper_desktop_api import BeeperDesktop

client = BeeperDesktop(
    access_token=os.environ.get("BEEPER_ACCESS_TOKEN"),  # This is the default and can be omitted
)
verifications = client.app.setup.verifications.list()
print(verifications.items)
```

#### Response

```json
{
  "items": [
    {
      "id": "id",
      "availableActions": [
        "accept"
      ],
      "direction": "incoming",
      "methods": [
        "qr"
      ],
      "purpose": "login",
      "state": "requested",
      "error": {
        "code": "code",
        "reason": "reason"
      },
      "otherDevice": {
        "id": "id",
        "name": "name"
      },
      "otherUserID": "otherUserID",
      "qr": {
        "data": "data"
      },
      "sas": {
        "emojis": "emojis",
        "decimals": "decimals"
      }
    }
  ]
}
```
