CMDCommand · run as root on the server · botmail family
urbestack-botmail-webhook-set
First published 22 Oct 2026
0.2.15Unchanged since publicationUsage
# urbestack-botmail-webhook-set --key N --url ADDRESS [--bearer-stdin] [--owner USER]Description
From the command's --help outputCreates or updates the webhook for the bot key identified by --key. BotMail sends one POST per new message in the mailbox's INBOX with the folder, UID, sender, subject, date and first lines of the message. Set --url to a full HTTPS URL such as https://example.com/hooks/mail. The host must resolve to an IP address. An explicit port must be between 1 and 65535. The path defaults to /. Loopback IP addresses are always refused. Plain HTTP URLs and hosts that resolve to private or link-local IP addresses require mail.botmail_private_webhooks, labeled Allow private network and HTTP webhooks under Mail > Settings. BotMail checks the destination again before each delivery. With --bearer-stdin, supply the receiver's bearer key as one line on standard input. The key can be up to 512 characters long with no spaces. BotMail sends it as Authorization: Bearer <key> with every delivery. Supply an empty line to remove the key or omit --bearer-stdin to keep the current one. Use --owner to run the command on behalf of the customer who owns the mailbox's domain. To resume a paused webhook, use urbestack-botmail-webhook-resume.Usage: urbestack-botmail-webhook-set --key N --url ADDRESS [--bearer-stdin] [--owner USER] Creates or updates the webhook for the bot key identified by --key. BotMail sends one POST per new message in the mailbox's INBOX with the folder, UID, sender, subject, date and first lines of the message. Set --url to a full HTTPS URL such as https://example.com/hooks/mail. The host must resolve to an IP address. An explicit port must be between 1 and 65535. The path defaults to /. Loopback IP addresses are always refused. Plain HTTP URLs and hosts that resolve to private or link-local IP addresses require mail.botmail_private_webhooks, labeled Allow private network and HTTP webhooks under Mail > Settings. BotMail checks the destination again before each delivery. With --bearer-stdin, supply the receiver's bearer key as one line on standard input. The key can be up to 512 characters long with no spaces. BotMail sends it as Authorization: Bearer <key> with every delivery. Supply an empty line to remove the key or omit --bearer-stdin to keep the current one. Use --owner to run the command on behalf of the customer who owns the mailbox's domain. To resume a paused webhook, use urbestack-botmail-webhook-resume.
Options
Find other commands that accept these optionsSame in the API
This operation runs the command.Generated from release 0.2.35 (current) · urbestack-botmail-webhook-set --help outputThis entry has been unchanged since it was first published in release 0.2.15 on 22 Oct 2026.
urbestack.com/docs/commands/urbestack-botmail-webhook-set/