agentlyleads docs
Campaigns API

GET /api/v1/campaigns/{id}

Returns one campaign plus its delivery analytics. Requires the read:campaigns scope.

Request

GET /api/v1/campaigns/cmq2camp0alk34567890 HTTP/1.1
Host: agentlyleads.com
Authorization: Bearer alk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Response (200)

{
  "campaign": { "id": "cmq2camp0alk34567890", "name": "Spring restock", "status": "SENT", "...": "..." },
  "analytics": {
    "totalRecipients": 120,
    "sentRecipients": 114,
    "skippedRecipients": 4,
    "failedRecipients": 2,
    "delivered": 110,
    "opens": 41,
    "machineOpens": 17,
    "clicks": 9,
    "bounces": 3,
    "unsubscribes": 1,
    "complaints": 0,
    "replies": 6,
    "positiveReplies": 2
  }
}

Analytics fields

FieldMeaning
totalRecipientsRecipients queued at launch
sentRecipientsRecipients whose email was approved and sent
skippedRecipientsSkipped because the address is suppressed
failedRecipientsThe send failed
delivered, bounces, unsubscribes, complaintsDelivery events
opensDistinct emails opened by a person
machineOpensDistinct emails opened only by software (Apple Mail Privacy Protection, security scanners). Not counted in opens
clicksDistinct emails with a click
repliesConversations that got a reply
positiveRepliesReplies classified as interested

An ID from another workspace returns 404 { "error": "Campaign not found." }.

On this page