List who opened, clicked or did not open
Lists recipients of a sent campaign by what they did.
GET https://cotlet.dev/api/v1/campaign-monitor/campaign-activities
read
Reads Recipient activity. Rows for clicked include the links the person viewed, as in the Clicks column. not_opened reads the Not opened tab. Needs the reports permission.
Parameters
| Name | Type | Description |
|---|---|---|
| campaign_id string required | string | Campaign ID from list_campaigns. |
| type string required | string | opened, clicked or not_opened. |
| cursor string | string | Next page cursor from the previous call. |
| limit integer | integer | How many items to return per page. |
Request
curl "https://cotlet.dev/api/v1/campaign-monitor/campaign-activities?campaign_id=campaign_8c41d2&type=type" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("campaign-monitor", "list_campaign_activity", {"campaign_id":"campaign_8c41d2","type":"type"}) const result = await cotlet.call('campaign-monitor', 'list_campaign_activity', {"campaign_id":"campaign_8c41d2","type":"type"}); cotlet call campaign-monitor list_campaign_activity --data '{"campaign_id":"campaign_8c41d2","type":"type"}' Example response
{
"recipients": [
{
"email": "ana.silva@example.com",
"clicks": [
"https://harborcoffee.example/autumn-menu"
]
}
],
"next_cursor": null
}