/botmail/keys
0.2.10Unchanged since publicationList bot keys visible to the caller
mailreadallAdministrators see all bot keys on the server. Resellers see keys for their own mailboxes and their customers' mailboxes. Customers see keys for their own mailboxes. The list is ordered by domain name, mailbox local part, and key ID.
Each entry includes the key's rules and usage. The key_hint field shows only the last four characters of the secret. Usage includes the last use time, messages sent this hour and today, and calls refused this hour. If usage is unavailable for a key, the last use time is null and the counts are zero.
The response includes server status and ceilings. Administrators receive the server-wide ceilings, domain counts by state, and totals for the current UTC hour. For resellers and customers, keys_per_mailbox reflects the caller's package limits, and package_botmail reports whether that package allows BotMail. It is true when the caller has no package.
Example
See the API overview for how to set $API and $TOKEN.curl -sS -X GET "$API/botmail/keys" \ -H "Authorization: Bearer $TOKEN"
200 OK{
"ceilings": {},
"keys": [
{
"address": "info@example.com",
"address_made_at": "text",
"blocked": [
"text"
],
"calls_per_minute": 1,
"ceilings": {},
"copy_to": "text",
"created_at": "2026-09-09T10:15:00Z",
"dead_why": "text",
"expires_at": "2026-09-16T10:15:00Z",
"folders_out": [
"drafts"
],
"from_addresses": [
"text"
],
"from_name": "text",
"host": "text",
"id": 1,
"key_hint": "text",
"keyword": "text",
"live": true,
"login": "text",
"mailbox": {},
"may": [
"read"
],
"mcp_address": "text",
"name": "alice",
"old_key_hint": "text",
"package_botmail": true,
"paused": true,
"paused_at": "text",
"paused_by": "owner",
"paused_by_name": "text",
"platform": "text",
"recipients": [
"text"
],
"recipients_per_message": 1,
"send_mode": "self",
"sends_per_day": 1,
"sends_per_hour": 1,
"updated_at": "text",
"usage": {},
"used_by_person": true,
"user": "alice"
}
],
"server": {},
"totals": {}
}Errors
15 errors, each a status and a sentence400Domain name required400Domain name too long400Invalid IPv4 address400Invalid IPv6 address400Invalid domain name400Invalid mail address400Invalid mail address: local part over 64 characters400Invalid mail address: no local part400Invalid mail address: the local part may hold letters, digits, dots, _ + and -400Invalid port400Invalid setting key400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter400Username '<value>' is reserved401Authentication required404Setting '<key>' not foundurbestack.com/docs/api/get-botmail-keys/