Contacts
Search contacts
/v1/search/contacts/{accountID}
Search contacts across on a specific account using the network's search API. Only use for creating new chats.
Path Parameters
accountID: string
Account ID this resource belongs to.
Query Parameters
query: string
Text to search users by. Network-specific behavior.
minLength1
Returns
Search contacts
curl http://localhost:23373/v1/search/contacts/$ACCOUNT_ID \
-H "Authorization: Bearer $BEEPER_ACCESS_TOKEN" \
-d '{}'
{
"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"
}
]
}