SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Global Analytics → Get Day-Wise Stats by Sent Time

AI-generated

Summary

Retrieve overall campaign analytics grouped by day and sent time.

Inputs

  • queryParameters — Additional query-string parameters as JSON object
  • requestOptions — Collection of request options including batching (batchSize, batchInterval), SSL settings (allowUnauthorizedCerts), proxy, and timeout.

Output shape

a single record containing analytics data (e.g., counts grouped by date and time)

Returns a single item per request; pagination is handled via the Batching options in requestOptions.

Examples

Example 1: Fetch analytics for the last 30 days

Leave queryParameters as default; set batching batchSize to 100 and batchInterval to 1000ms to handle potential large result sets.

Example 2: Fetch analytics with a custom date range

Provide a JSON object in queryParameters (e.g., {startDate: '2023-01-01', endDate: '2023-01-31'}) to filter the results.

Links

Discussion