将密钥保存在服务端
Leap 会加密 BirdApiKey 值,并在运行时将密钥传递给你的后端。你的前端调用后端,后端再调用 Bird。
探索 API你的智能体可以设置通道、管理客户并确认送达。
通过 MCP 和 CLI 实现完整的读写访问。
能否查看当前有哪些通话处于活跃状态,并告诉我哪些已接通、哪些仍在响铃?
workspace_getvoice_legs_listvoice_legs_getvoice_legs_getLeap 根据提示词编写集成代码,你添加 API 密钥。
Add a backend endpoint to send email with Bird. Follow https://bird.com/docs/get-started/send-your-first-email: use the @messagebird/sdk package and read the API key from a secret named BirdApiKey.将提示词粘贴到 Leap 的对话中。Leap 会阅读 Bird 的快速入门指南,使用 Bird SDK 编写端点,并声明 BirdApiKey 密钥。
在 Bird 中依次打开 Developers 和 API keys,创建一个 API 密钥。在 Leap 中打开 Settings,然后打开 Secrets,将密钥粘贴为 BirdApiKey 的值。对话中的 Missing secret value 提示会打开同一界面。
调用 Leap 创建的端点。快速入门指南从 onboarding@messagebird.dev 发送到 delivered@messagebird.dev,这是一个沙盒地址,每条消息都会送达。在向客户发送之前,请先验证你自己的域名。
你发布的应用需要自己的服务端连接来访问 Bird。
指定 Bird 产品和密钥,Leap 来编写后端代码。
When a user signs up, send a welcome email with Bird using the @messagebird/sdk package and the BirdApiKey secret. Store the returned message ID with the user.When an order ships, send the customer an SMS with Bird, including the tracking link. Use the @messagebird/sdk package and the BirdApiKey secret.Add an endpoint to read a Bird email message by its stored ID and return its status, so the order page shows whether the email was delivered.连接正常工作背后的细节。
从你的提示词中学习。链接一份 Bird 指南(例如邮件快速入门),Leap 会在编写端点之前先读取该页面。
存储在 Leap 密钥库中。Leap 会加密该值,并在运行时将密钥提供给你的应用,因此密钥不会出现在你的代码中。
不需要。Bird SDK 会从你的 API 密钥中读取区域,因此以 bk_eu1_ 开头的密钥会自动调用欧盟主机,无需额外配置。