Search contacts
accounts.contacts.search(straccount_id, ContactSearchParams**kwargs) -> ContactSearchResponse
GET/v1/accounts/{accountID}/contacts
Search contacts on a specific account using merged account contacts, network search, and exact identifier lookup.
Parameters
account_id: str
Account ID this resource belongs to.
query: str
Text to search users by. Network-specific behavior.
minLength1
Returns
Search contacts
from beeper_desktop_api import BeeperDesktop
client = BeeperDesktop()
response = client.accounts.contacts.search(
account_id="accountID",
query="x",
)
print(response.items){
"items": [
{
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
}
]
}Returns Examples
{
"items": [
{
"id": "id",
"cannotMessage": true,
"email": "email",
"fullName": "fullName",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username"
}
]
}