Get your free beta license ↗
API operation · mail group
GET

/botmail/keys/{id}/activity

First published 18 Oct 20260.2.10Unchanged since publication

List activity for a bot key

Who may call it
AdministratorResellerCustomer
Token scope, any of
mailreadall
Answers200 OK

The response includes the key's details and its recorded calls, newest first. Each entry includes the timestamp, tool, call, duration in milliseconds, whether the call was allowed, a short message, and the source IP address.

The activity list is empty if BotMail has yet to run or the activity log is unavailable. The API returns 404 if the key is missing or the caller lacks access to it.

Parameters

idpath ·integer, 1 or moreRequired
limitquery ·integer, 1 to 2000
Maximum number of activity entries to return, newest first. Use one to four digits for a value from 0 to 9999. The default is 200 if omitted or outside that format.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/botmail/keys/1/activity?limit=1" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "activity": [
    {
      "address": "info@example.com",
      "at": "text",
      "ms": 1,
      "ok": true,
      "tool": "text",
      "words": "text"
    }
  ],
  "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

4 errors, each a status and a sentence
400Invalid id
401Authentication required
404No such bot connector: <c.params>{id}
404No such bot connector: <id>
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/get-botmail-keys-id-activity/