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

Parameters: list_campaign_activity
NameTypeDescription
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
curl "https://cotlet.dev/api/v1/campaign-monitor/campaign-activities?campaign_id=campaign_8c41d2&type=type" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("campaign-monitor", "list_campaign_activity", {"campaign_id":"campaign_8c41d2","type":"type"})
Node.js
const result = await cotlet.call('campaign-monitor', 'list_campaign_activity', {"campaign_id":"campaign_8c41d2","type":"type"});
CLI
cotlet call campaign-monitor list_campaign_activity --data '{"campaign_id":"campaign_8c41d2","type":"type"}'

Example response

JSON

{
  "recipients": [
    {
      "email": "ana.silva@example.com",
      "clicks": [
        "https://harborcoffee.example/autumn-menu"
      ]
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.