Daily breakdown
Returns daily email stats aggregated across all campaigns in the workspace.
Defaults to the last 30 days if from/to are not provided.
Results are sorted by date ascending.
Optional subsequenceId query param scopes the breakdown:
- omitted → combined main + all subsequences (default)
main→ main sequence only<24-hex ObjectId>→ that specific subsequence only
When scoped to a specific subsequence, replied per day is bucketed by
subsequence.repliedAt instead of the lead's top-level repliedAt.
curl -X GET "https://api.sendkit.ai/v1/analytics/daily?from=2024-05-01&to=2024-05-31&subsequenceId=main" \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_API_KEY"
import requests
import json
url = "https://api.sendkit.ai/v1/analytics/daily?from=2024-05-01&to=2024-05-31&subsequenceId=main"
headers = {
"Content-Type": "application/json",
"X-Api-Key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.sendkit.ai/v1/analytics/daily?from=2024-05-01&to=2024-05-31&subsequenceId=main", {
method: "GET",
headers: {
"Content-Type": "application/json",
"X-Api-Key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.sendkit.ai/v1/analytics/daily?from=2024-05-01&to=2024-05-31&subsequenceId=main", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-Api-Key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.sendkit.ai/v1/analytics/daily?from=2024-05-01&to=2024-05-31&subsequenceId=main')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['X-Api-Key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"success": true,
"data": [
{
"_id": "2024-05-15",
"sent": 42,
"opened": 42,
"clicked": 42,
"bounced": 42,
"replied": 42,
"positiveReplied": 42
}
]
}
/v1/analytics/daily
Target server for requests. Edit to use your own host.
Platform API key (sk_user_...) or Workspace API key (sk_...)
Start date (ISO 8601 or date string). Defaults to 30 days ago.
End date (ISO 8601 or date string). Defaults to today.
"main", a 24-character ObjectId, or omitted (combined).
Request Preview
Response
Response will appear here after sending the request
Authentication
API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)