« Back to Documentation OverviewcampaignEmailStatsAIM – v1.2
campaignEmailStatsAIM(string apikey, string cid, string email_address)
Given a campaign and email address, return the entire click and open history with timestamps, ordered by time
| Parameters | | apikey | a valid API Key for your user account. Get by visiting your API dashboard |
| cid | the campaign id to get stats for (can be gathered using campaigns()) |
| email_address | the email address to check OR the email "id" returned from listMemberInfo, Webhooks, and Campaigns |
| Returns | | array |
Array of structs containing the actions (opens and clicks) that the email took, with timestamps |
| Returned Fields | string | action | The action taken (open or click) | date | timestamp | Time the action occurred | string | url | For clicks, the URL that was clicked |