hires_list_messages
List outgoing messages from a mail account, with filters for status and date range. Use it to monitor cold outreach campaigns, check pending sends, and review delivery history.
Instructions
List messages sent or scheduled from a specific mail account. Returns outbound messages only (sent and scheduled), not received. Useful for monitoring cold outreach campaigns — check pending queue, delivery history, and plan next sends.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from_account_id": "<from_account_id>"
},
"name": "hires_list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based). Default: 1. | |
| size | No | Number of items per page (1-100). Default: 20. | |
| status | No | Filter by message status: `scheduled` (pending send), `sent` (delivered), `all` (both). Default: `all`. | |
| date_to | No | End of period (unix timestamp, seconds). Filters on scheduled/sent time. | |
| date_from | No | Start of period (unix timestamp, seconds). Filters on scheduled/sent time. | |
| from_account_id | Yes | ID of the mail account (from `GET /companies/mail-accounts` or `GET /users/{user_id}/mail-accounts`). |