Skip to content
  • Auto
  • Light
  • Dark
Download Beeper

API Reference

SettingValue
Authoritycom.beeper.api
Default Limit100 rows (if not specified)
Required PermissionsREAD_PERMISSION, SEND_PERMISSION

Retrieves a list of chats/conversations.

content://com.beeper.api/chats

Get the total count of chats matching filters.

content://com.beeper.api/chats/count

Retrieves messages with optional filtering and search.

content://com.beeper.api/messages

Get total message count with filters.

content://com.beeper.api/messages/count

The reactions column encodes reactions as comma-separated entries:

Format

emoji|senderId|isSentByMe|order

Example: 😀|@alice:server.com|0|123,👍|@me:server.com|1|124

// Parse reactions
val reactionsRaw = cursor.getString(cursor.getColumnIndexOrThrow("reactions")) ?: ""
val reactions = reactionsRaw.split(',')
.filter { it.isNotEmpty() }
.map { part ->
val fields = part.split('|')
Reaction(
emoji = fields.getOrNull(0) ?: "",
senderId = fields.getOrNull(1) ?: "",
isSentByMe = fields.getOrNull(2) == "1",
order = fields.getOrNull(3)?.toLongOrNull() ?: 0
)
}

Send a text message to a chat.

content://com.beeper.api/messages

Retrieve contacts with optional filtering.

content://com.beeper.api/contacts

Get total contact count with filters.

content://com.beeper.api/contacts/count
# Recent unread chats
content://com.beeper.api/chats?isUnread=1&limit=10
# WhatsApp chats only
content://com.beeper.api/chats?protocol=whatsapp
# Search messages for "meeting"
content://com.beeper.api/messages?query=meeting
# Active chats (not archived or low priority)
content://com.beeper.api/chats?isArchived=0&isLowPriority=0