API operation · mail group
POST
/botmail/verify
First published 18 Oct 2026
0.2.10Unchanged since publicationVerify a bot key and retrieve its rules
Who may call it
Anyone (no token needed)
Token
noneAnswers200 OK
BotMail calls this operation for every request it serves. It supplies the bot key in key as the credential. The operation requires no API token and accepts requests only from 127.0.0.1 or ::1.
A successful response returns the key's public details and rules in key, along with the login for the current or previous key presented, the server ceilings, and the mailbox's email address and hourly sending limit.
A missing, malformed, unknown, paused, or expired key returns 401, as does a key whose mailbox is suspended or whose use is blocked because BotMail is disabled. The response uses the same error message for all of these cases. Requests from outside loopback or to a server without BotMail return 404.
keystring, up to 128 charactersRequiredBot key as presented by the bot.
Example
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X POST "$API/botmail/verify" \
-H "Content-Type: application/json" \
-d '{
"key": "panel.port"
}'Response ·
200 OK{
"key": {
"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"
}
}Errors
2 errors, each a status and a sentence401Unknown key404Not foundNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.10 on 18 Oct 2026.
urbestack.com/docs/api/post-botmail-verify/