Chats
Search chats
Search chats by title/network or participants using Beeper Desktop's renderer algorithm.
Query Parameters
Provide an array of account IDs to filter chats from specific messaging accounts only
Opaque pagination cursor; do not inspect. Use together with 'direction'.
Include chats marked as Muted by the user, which are usually less important. Default: true. Set to false if the user wants a more refined search.
Provide an ISO datetime string to only retrieve chats with last activity after this time
Provide an ISO datetime string to only retrieve chats with last activity before this time
Set the maximum number of chats to retrieve. Valid range: 1-200, default is 50
Literal token search (non-semantic). Use single words users type (e.g., "dinner"). When multiple words provided, ALL must match. Case-insensitive.
Set to true to only retrieve chats that have unread messages
Returns
True if additional results can be fetched using the provided cursors.
Cursor for fetching newer results (use with direction='after'). Opaque string; do not inspect.
Cursor for fetching older results (use with direction='before'). Opaque string; do not inspect.
Search chats
curl http://localhost:23373/v1/search/chats \
-H "Authorization: Bearer $BEEPER_ACCESS_TOKEN"
{
"hasMore": true,
"items": [
{
"id": "!KPFTtZYWuERwib8T702N9IfqiCc:ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc.local-whatsapp.localhost",
"accountID": "local-whatsapp_ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc",
"network": "WhatsApp",
"participants": {
"hasMore": false,
"items": [
{
"id": "@kishanbagaria:local-whatsapp.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Kishan Bagaria",
"imgURL": "imgURL",
"isSelf": false,
"phoneNumber": "+15551112222",
"username": "username"
}
],
"total": 2
},
"title": "Kishan Bagaria",
"type": "single",
"unreadCount": 3,
"isArchived": false,
"isMuted": false,
"isPinned": true,
"lastActivity": "2025-08-31T19:41:41.000Z",
"lastReadMessageSortKey": 449706228480,
"localChatID": "1229391"
},
{
"id": "!nZeX7dh67_RaPnmWGJIjUkV2svE:ba_sXf0adnbr287.local-telegram.localhost",
"accountID": "local-telegram_ba_sXf0adnbr287_pRup35Tgl-lsIg",
"network": "Telegram",
"participants": {
"hasMore": false,
"items": [
{
"id": "@bradmurray:local-telegram.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Brad Murray",
"imgURL": "imgURL",
"isSelf": false,
"phoneNumber": "+15553334444",
"username": "username"
}
],
"total": 2
},
"title": "Brad Murray",
"type": "single",
"unreadCount": 0,
"isArchived": true,
"isMuted": false,
"isPinned": false,
"lastActivity": "2025-08-31T18:05:20.648Z",
"lastReadMessageSortKey": 449706782720,
"localChatID": "1229078"
},
{
"id": "!twitter_dm_photomatt:local-twitter.localhost",
"accountID": "local-twitter_ba_gUU1IHNGo_CsTZLp0vDFUYk9EuE",
"network": "Twitter/X",
"participants": {
"hasMore": false,
"items": [
{
"id": "@photomatt:local-twitter.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Matt Mullenweg",
"imgURL": "imgURL",
"isSelf": false,
"phoneNumber": "phoneNumber",
"username": "photomatt"
}
],
"total": 2
},
"title": "Matt Mullenweg",
"type": "single",
"unreadCount": 1,
"isArchived": false,
"isMuted": true,
"isPinned": false,
"lastActivity": "2025-08-31T12:30:15.123Z",
"lastReadMessageSortKey": 449705982340,
"localChatID": "1228956"
}
],
"newestCursor": "1756669301000",
"oldestCursor": "1756667120648"
}
Returns Examples
{
"hasMore": true,
"items": [
{
"id": "!KPFTtZYWuERwib8T702N9IfqiCc:ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc.local-whatsapp.localhost",
"accountID": "local-whatsapp_ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc",
"network": "WhatsApp",
"participants": {
"hasMore": false,
"items": [
{
"id": "@kishanbagaria:local-whatsapp.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Kishan Bagaria",
"imgURL": "imgURL",
"isSelf": false,
"phoneNumber": "+15551112222",
"username": "username"
}
],
"total": 2
},
"title": "Kishan Bagaria",
"type": "single",
"unreadCount": 3,
"isArchived": false,
"isMuted": false,
"isPinned": true,
"lastActivity": "2025-08-31T19:41:41.000Z",
"lastReadMessageSortKey": 449706228480,
"localChatID": "1229391"
},
{
"id": "!nZeX7dh67_RaPnmWGJIjUkV2svE:ba_sXf0adnbr287.local-telegram.localhost",
"accountID": "local-telegram_ba_sXf0adnbr287_pRup35Tgl-lsIg",
"network": "Telegram",
"participants": {
"hasMore": false,
"items": [
{
"id": "@bradmurray:local-telegram.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Brad Murray",
"imgURL": "imgURL",
"isSelf": false,
"phoneNumber": "+15553334444",
"username": "username"
}
],
"total": 2
},
"title": "Brad Murray",
"type": "single",
"unreadCount": 0,
"isArchived": true,
"isMuted": false,
"isPinned": false,
"lastActivity": "2025-08-31T18:05:20.648Z",
"lastReadMessageSortKey": 449706782720,
"localChatID": "1229078"
},
{
"id": "!twitter_dm_photomatt:local-twitter.localhost",
"accountID": "local-twitter_ba_gUU1IHNGo_CsTZLp0vDFUYk9EuE",
"network": "Twitter/X",
"participants": {
"hasMore": false,
"items": [
{
"id": "@photomatt:local-twitter.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Matt Mullenweg",
"imgURL": "imgURL",
"isSelf": false,
"phoneNumber": "phoneNumber",
"username": "photomatt"
}
],
"total": 2
},
"title": "Matt Mullenweg",
"type": "single",
"unreadCount": 1,
"isArchived": false,
"isMuted": true,
"isPinned": false,
"lastActivity": "2025-08-31T12:30:15.123Z",
"lastReadMessageSortKey": 449705982340,
"localChatID": "1228956"
}
],
"newestCursor": "1756669301000",
"oldestCursor": "1756667120648"
}