List active verifications
app.verifications.list() -> VerificationListResponse
GET/v1/app/setup/verifications
List pending and active device verifications. Use this to recover state without a WebSocket connection.
List active verifications
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.verifications.list()
print(verifications.items){
"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"
}
}
]
}Returns Examples
{
"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"
}
}
]
}