Lark (Feishu)
| Schemes | lark:// |
| Cargo feature | service-lark |
| Service | https://open.larksuite.com/ |
| Body formats | text (first is the default) |
| Attachments | no |
| Title length | 250 characters |
| Body length | 32,768 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | yes |
URL formats
{schema}://{token}
{schema} is one of lark://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{token} | Bot Token | string | yes | secret; must match ^[a-z0-9-]+$ |
Query parameters
No service-specific parameters.
The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.
Examples
Accepted URLs (tokens are fake):
lark://abcd-1234
lark://abcd-1234/
https://open.larksuite.com/open-apis/bot/v2/hook/abcd-1234
HTTPS://OPEN.LARKSUITE.COM/open-apis/bot/v2/hook/ABCD-1234
lark://?token=abcd-1234
Rejected URLs:
https://open.larksuite.com/open-apis/bot/v2/hook/abc_d
lark://
lark://:@/
lark://abc_def
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'lark://abcd-1234'
Notes
Lark (lark://): messages to a Lark group bot webhook.