> ## Documentation Index
> Fetch the complete documentation index at: https://docs.asteragents.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CallRail

> Connect CallRail call tracking to your agents

## Connect CallRail

An Aster organization admin connects one CallRail account in **Control Hub > Integrations > CallRail**. The connection is shared across the organization, so scheduled tasks and every member's agents use it.

1. In CallRail, sign in as an admin who can see every company. Open **Integrations > API Keys** and choose **Create New API v3 Key**. The key reads what that user can see.
2. Paste the key into Aster and save. Aster checks the key against CallRail before saving.
3. If the key can see more than one CallRail account, Aster asks for the account ID to use.
4. Enable `callrail_query` and `callrail_get_recording` on your agent.

## Available tools

`callrail_query` reads one endpoint per call. Lists are paged inside the call up to `max_rows` (default 2,000) and always attached as a CSV.

| Endpoint | Returns |
| - | - |
| `calls` | Calls with source, campaign, tags, lead status, AI lead score and explanation, and call highlights |
| `calls/summary` | Call counts grouped by source, tracker, campaign, keywords, referrer, landing page or company |
| `calls/timeseries` | Call counts by hour, day, week, month or year |
| `form_submissions`, `forms/summary` | Form submissions and their counts |
| `text-messages`, `sms-threads` | Text conversations and threads |
| `leads`, `leads/{id}/timeline` | Leads and every call, form and text from one lead |
| `companies`, `trackers`, `tags`, `users` | Account setup |

Dates use `date_range` (`today`, `last_7_days`, `last_month`, `this_year` and so on) or `start_date` and `end_date`, in the account's time zone. Without dates, CallRail returns the last 7 days.

`callrail_get_recording` saves one call's MP3 recording in the conversation. Pass the file to `elevenlabs_speech_to_text` for a transcript.

## Transcripts and call summaries

CallRail only returns transcripts, call summaries and sentiment through its API on the **Premium Conversation Intelligence** plan. Other plans still return AI lead scores, lead explanations and call highlights. Without Premium, agents can transcribe a call by downloading its recording and running speech-to-text.

## Example prompts

* "How many calls did each source bring in last month?"
* "List yesterday's missed calls with their tracking numbers."
* "Which calls this week scored above 70, and why?"
* "Transcribe the longest call from today and summarize what the customer needed."

## Coverage and troubleshooting

This version is read-only. It does not tag or score calls, add notes, send texts or place calls.

* **401:** the key was deleted or belongs to a removed user. Create a new key and reconnect.
* **429:** CallRail allows 1,000 requests an hour and 10,000 a day per account, shared with anything else that uses the account's keys. Use `calls/summary` for counts instead of pulling every call.
* CallRail deletes calls, recordings, texts and forms after 25 months.

The key stays server-side and is redacted in connection responses.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.