Skip to content

Lark

Send notifications to Lark using a custom bot webhook.

URL Format

lark://host/token?secret=secret

URL Fields

  • host: The bot API host (open.larksuite.com for Lark, open.feishu.cn for Feishu).
  • token: The bot webhook token (required).
  • secret: Optional bot secret for signed requests.

Example URL

lark://open.larksuite.com/abc123?secret=xyz789

Create a Custom Bot in Lark

Official Documentation: Custom Bot Guide

  1. Invite the Custom Bot to a Group:
    a. Open the target group, click More in the upper-right corner, and then select Settings.
    b. In the Settings panel, click Group Bot.
    c. Click Add a Bot under Group Bot.
    d. In the Add Bot dialog, locate Custom Bot and select it.
    e. Set the bot’s name and description, then click Add.
    f. Copy the webhook address and click Finish.

  2. Get Host and Token:

    • For Lark: Use host = open.larksuite.com.
    • For Feishu: Use host = open.feishu.cn.
    • The token is the last segment of the webhook URL.
      For example, in https://open.larksuite.com/open-apis/bot/v2/hook/xxxxxxxxxxxxxxxxx, the token is xxxxxxxxxxxxxxxxx.
  3. Get Secret (Optional):
    a. In group settings, open the bot list, find your custom bot, and select it to access its configuration.
    b. Under Security Settings, enable Signature Verification.
    c. Click Copy to save the secret.
    d. Click Save to apply the changes.

Released under the MIT License