Get your free beta license ↗
Named type · one of 310 shapes of what is sent and answered

BotKeyPatch

First published 18 Oct 20260.2.10Unchanged since publication

Used by 1 operation.

Fields

blockedarray of string, up to 254 characters
Recipient email addresses and domains the key can never send to.
calls_per_minuteinteger, 1 to 6000
Maximum calls per minute, subject to the server's ceiling.
copy_tostring, up to 320 characters or null
Email address that receives a copy of every message sent with this key. Set to null or an empty string to remove it.
expires_daysinteger, 0 to 3650
Number of days until the key expires, or 0 for no expiration.
folders_outarray of string, one of drafts, sent, junk, trash
Special mail folders the key cannot access.
from_addressesarray of string, up to 64 characters
Source IP addresses or CIDR blocks from which the bot can make calls. An empty list allows any source IP address.
from_namestring, up to 64 characters
Sender display name on messages sent with this key. An empty string displays only the sender's email address.
mayarray of string, one of read, search, flag, draft, send, reply
Operations the key can perform. If reply is the only permission, the key can only send replies to messages it was given.
namestring, up to 64 characters
Name the owner gives the key.
pausedboolean
platformstring, up to 32 characters
Name of the platform or program that runs the bot, such as ChatGPT, Claude, or my program.
recipientsarray of string, up to 254 characters
Recipient email addresses and domains the key can send to. An empty list allows any recipient.
recipients_per_messageinteger, 1 to 50
send_modestring, one of self, drafts, known
With self, messages are sent automatically. With drafts, all messages wait in Drafts for the owner, and with known, messages to known contacts are sent automatically while messages to other recipients wait in Drafts.
sends_per_dayinteger, 1 to 100000
Daily sending limit, subject to the server's ceiling.
sends_per_hourinteger, 1 to 1000

Used by

1 operation
Generated from release 0.2.35 (current) · API named typeThis entry has been unchanged since it was first published in release 0.2.10 on 18 Oct 2026.
urbestack.com/docs/api/types/BotKeyPatch/