Skip to main content
GET
/
v2
/
campaigns
/
{campaignId}
/
stats
Get Campaign Stats
curl --request GET \
  --url https://api.lemlist.com/api/v2/campaigns/{campaignId}/stats \
  --header 'Authorization: Basic <encoded-value>'
{
  "nbLeads": 32,
  "nbLeadsLaunched": 32,
  "nbLeadsReached": 32,
  "nbLeadsOpened": 31,
  "nbLeadsInteracted": 4,
  "nbLeadsAnswered": 16,
  "nbLeadsInterested": 1,
  "nbLeadsNotInterested": 0,
  "nbLeadsUnsubscribed": 1,
  "nbLeadsInterrupted": 1,
  "messagesSent": 72,
  "messagesNotSent": 0,
  "messagesBounced": 0,
  "delivered": 72,
  "opened": 47,
  "clicked": 4,
  "replied": 16,
  "invitationAccepted": 0,
  "meetingBooked": 0,
  "steps": [
    {
      "index": 1,
      "sequenceId": "seq_JiYPY37b43uJg2hfA",
      "sequenceStep": 0,
      "taskType": "linkedinSend",
      "invited": 0,
      "sent": 32,
      "delivered": 32,
      "opened": 15,
      "clicked": 0,
      "replied": 15,
      "notDelivered": 0,
      "bounced": 0,
      "unsubscribed": 1
    },
    {
      "index": 2,
      "sequenceId": "seq_JiYPY37b43uJg2hfA",
      "sequenceStep": 1,
      "invited": 0,
      "sent": 20,
      "delivered": 20,
      "opened": 17,
      "clicked": 1,
      "replied": 1,
      "notDelivered": 0,
      "bounced": 0,
      "unsubscribed": 0
    },
    {
      "index": 3,
      "sequenceId": "seq_JiYPY37b43uJg2hfA",
      "sequenceStep": 2,
      "invited": 0,
      "sent": 20,
      "delivered": 20,
      "opened": 15,
      "clicked": 3,
      "replied": 0,
      "notDelivered": 0,
      "bounced": 0,
      "unsubscribed": 0
    }
  ]
}
Careful, the route starts with /v2/. Make sure to include the version in the path.
This endpoint retrieves statistics for a specific campaign.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

campaignId
string
required

Unique campaign ID

Query Parameters

startDate
string<date-time>
required

Start date in ISO 8601 format

endDate
string<date-time>
required

End date in ISO 8601 format

sendUser
string

Filter stats by send user. Format: sendUserId|sendUserEmail. The sendUserId should begin with 'usr_' and the sendUserEmail should be a valid sender email. If the param is specified, both sendUserId and sendUserEmail are mandatory.

ABSelected
enum<string>

A/B version filter

Available options:
A,
B
channels
string

JSON array of channels to include. Possible values: 'email', 'linkedin', 'others'

Response

Success

nbLeads
integer

Total number of leads in the campaign

nbLeadsLaunched
integer

Number of leads launched in the campaign

nbLeadsReached
integer

Number of leads that were successfully reached

nbLeadsOpened
integer

Number of leads that opened messages

nbLeadsInteracted
integer

Number of leads that interacted with messages (clicked, replied)

nbLeadsAnswered
integer

Number of leads that answered

nbLeadsInterested
integer

Number of leads marked as interested

nbLeadsNotInterested
integer

Number of leads marked as not interested

nbLeadsUnsubscribed
integer

Number of leads that unsubscribed

nbLeadsInterrupted
integer

Number of leads with interrupted sequences

messagesSent
integer

Total number of messages sent

messagesNotSent
integer

Number of messages that failed to send

messagesBounced
integer

Number of messages that bounced

delivered
integer

Number of messages successfully delivered

opened
integer

Number of messages opened

clicked
integer

Number of messages with clicks

replied
integer

Number of messages that received replies

invitationAccepted
integer

Number of LinkedIn invitations accepted

meetingBooked
integer

Number of meetings booked

steps
object[]

Detailed metrics for each step in the campaign