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
Invite the Custom Bot to a Group:
a. Open the target group, clickMore
in the upper-right corner, and then selectSettings
.
b. In theSettings
panel, clickGroup Bot
.
c. ClickAdd a Bot
underGroup Bot
.
d. In theAdd Bot
dialog, locateCustom Bot
and select it.
e. Set the bot’s name and description, then clickAdd
.
f. Copy the webhook address and clickFinish
.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, inhttps://open.larksuite.com/open-apis/bot/v2/hook/xxxxxxxxxxxxxxxxx
, the token isxxxxxxxxxxxxxxxxx
.
- For Lark: Use
Get Secret (Optional):
a. In group settings, open the bot list, find your custom bot, and select it to access its configuration.
b. UnderSecurity Settings
, enableSignature Verification
.
c. ClickCopy
to save the secret.
d. ClickSave
to apply the changes.