Exotel Get Call Details of Campaign icon

Exotel Get Call Details of Campaign

Fetch detailed call logs for a specific Exotel campaign

Exotel Get Call Details of Campaign

AI-generated

Summary

Fetch call logs with detailed information for a specific Exotel campaign, supporting pagination, filtering by call status, and sorting by creation date.

Inputs

  • Subdomain (required) — The Exotel API subdomain to use for the request, e.g., 'api.exotel.com'.
  • Account SID (required) — The SID of your Exotel account to identify the account context.
  • Campaign SID (required) — The SID of the campaign for which to retrieve call details.
  • Offset — Optional zero-based start position to begin fetching paginated call records.
  • Limit — The number of call detail records to fetch per request, defaulting to 20.
  • Status Filter — Optional filter to restrict call details by call status such as completed, failed, busy, or no answer.
  • Sort By — Determines sorting order of the results by date created; can be ascending or descending.

Output shape

a JSON array of call detail objects, each representing a call log entry associated with the specified campaign.

The results respect the pagination parameters (offset and limit), status filter, and sorting option. Errors from the Exotel API are surfaced as execution errors with status code and message.

Examples

Example 1: Fetch up to 50 completed calls from a campaign, starting at the beginning, sorted by most recent first.

Set 'Subdomain', 'Account SID', 'Campaign SID'; set 'Status Filter' to Completed; set 'Limit' to 50; use default Offset (0) and Sort By (date_created desc).

Discussion