360 Secure SkillHub
360 安全技能中心

Beeper Desktop API

该 Skill 提供说明与脚本,通过本机运行的 Beeper Desktop 本地 API 列出已连接账号、检索聊天与消息历史、读取指定会话,并在操作员批准后向匹配会话发送消息;可经 SSH 隧道访问远程 Beeper Desktop,依赖 API 密钥及 curl、jq。

h-mascot
h-mascot
热度 27.24
最近更新 2026-07-01 02:21:45
分类:协作依赖:代码执行 / 读写文件 / 第三方 API应用场景:社交媒体 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add superada-skill-beeper
Metadata
name
beeper
description
Send and search messages across WhatsApp, LinkedIn, Instagram, Discord, Telegram, Signal, Messenger, Slack, and other Beeper-connected networks through the Beeper Desktop API. Use when an agent needs operator-approved cross-channel messaging, chat lookup, message search, or local DM history access through Beeper.

Beeper Desktop API Skill

Use this skill when an agent needs to work with the operator's own Beeper-connected chats through Beeper Desktop's local API.

Beeper Desktop must already be installed, logged in, and running on a trusted machine. This skill does not create Beeper accounts, bypass platform permissions, or read messages unless the operator has enabled Beeper Desktop API access.

What It Covers

  • List connected Beeper accounts.
  • List recent chats across connected networks.
  • Search chats by person, group, or title.
  • Search messages across Beeper's indexed local history.
  • Read messages from a specific chat ID.
  • Send a message to a matched chat after operator approval.
  • Use Beeper through a local API endpoint or a local SSH tunnel to another trusted machine.

Requirements

  1. Beeper Desktop installed and running.
  2. Beeper Desktop API enabled in Beeper settings under Developers.
  3. API key stored in one of:
    • BEEPER_API_KEY
    • $HOME/.config/beeper/api-key
    • $HOME/.config/beeper/config.json with an api_key field
  4. curl and jq.
  5. Optional: SSH access to the machine running Beeper Desktop if the agent runs elsewhere.

Configuration

For a local Beeper Desktop API:

export BEEPER_API_BASE="http://127.0.0.1:23373"
export BEEPER_API_KEY="paste-api-key-here"

For a remote Beeper Desktop API reached through SSH, create a local tunnel first:

ssh -N -L 23373:127.0.0.1:23373 user@beeper-host
export BEEPER_API_BASE="http://127.0.0.1:23373"

You can also set BEEPER_SSH_HOST=user@beeper-host and let the helper scripts call curl through SSH. The tunnel approach is usually cleaner for long-running agents.

Quick Start

# Test the API
scripts/beeper.sh test

# List accounts
scripts/beeper.sh accounts

# List recent chats
scripts/beeper.sh chats 20

# Search chats
scripts/search-chats.sh "Kinan"

# Search message history
scripts/beeper.sh search "gbrain"

# Read messages from a chat ID
scripts/beeper.sh messages '!chat-id:beeper.local' 50

# Send a message by recipient/chat title match
scripts/send-message.sh "Kinan" "Following up on this."

API Reference

Default base URL: http://127.0.0.1:23373

Authentication: Authorization: Bearer <api-key>

Common endpoints:

  • GET /v1/accounts
  • GET /v1/chats?limit=100
  • GET /v1/chats/search?query=name
  • GET /v1/chats/{chatID}/messages?limit=50
  • GET /v1/messages/search?query=keyword
  • POST /v1/chats/{chatID}/messages

Official API docs: https://developers.beeper.com/desktop-api-reference

Messaging Rules

  • Do not send messages without explicit operator approval.
  • Search and read only the chats needed for the requested task.
  • Treat DMs and message exports as private operator data.
  • Do not paste API keys into prompts, config pages, or public logs.
  • Prefer chat search and message search before bulk crawling.
  • Bulk backup/crawl should be an explicit operator request because it can export a large private archive.

When To Use This Instead Of Platform APIs

Use Beeper when the operator wants one local messaging surface across many networks, especially when Discord DMs, WhatsApp, LinkedIn, Telegram, Instagram, Signal, Messenger, or Slack are all reachable from the same Beeper account.

Use a native platform API when you need workspace-level administration, moderation actions, bot-only behavior, or server/channel operations that Beeper does not expose.