Get bridge login
bridges.logins.retrieve(strlogin_id, LoginRetrieveParams**kwargs) -> BridgeLogin
GET/v1/bridges/{bridgeID}/logins/{loginID}
Get one bridge login.
Get bridge login
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
)
bridge_login = client.bridges.logins.retrieve(
login_id="ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc",
bridge_id="local-whatsapp",
)
print(bridge_login.bridge_id){
"bridgeID": "bridgeID",
"loginID": "loginID",
"removeScopes": [
"current-device"
],
"status": "connected",
"accountIDs": [
"string"
],
"statusText": "statusText",
"user": {
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
}
}Returns Examples
{
"bridgeID": "bridgeID",
"loginID": "loginID",
"removeScopes": [
"current-device"
],
"status": "connected",
"accountIDs": [
"string"
],
"statusText": "statusText",
"user": {
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
}
}