list_text_messages
Retrieve a paginated list of SMS conversations sent or received via CallRail tracking numbers, filterable by company and date range.
Instructions
List SMS/text message conversations sent to or received via CallRail trackers. Paginated. Filterable by company and date window.
Receiving SMS works on standard accounts. Outbound SMS sending
requires CallRail's A2P SMS API permission (returns 403 otherwise);
see create_text_message notes if available on your plan.
Args:
account_id: CallRail account ID. Auto-resolves if omitted.
company_id: Filter to one company. Omit for all companies.
days: Lookback in days (default 7). Ignored if start_date provided.
start_date: 'YYYY-MM-DD'.
end_date: 'YYYY-MM-DD' (defaults to today).
per_page: Page size (max 250).
page: 1-indexed.
Returns:
JSON string with page, per_page, total_pages,
total_records, and conversations[]. Each conversation has
a list of inbound + outbound messages, customer phone number,
the tracking number used, and timestamps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| page | No | ||
| end_date | No | ||
| per_page | No | ||
| account_id | No | ||
| company_id | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |