Smartlead Campaign Statistics API

Retrieve campaign performance metrics.

Operations 2

GET /v1/campaigns/{campaign_id}/statistics Get Campaign Statistics #
GET /v1/campaigns/{campaign_id}/analytics Get Campaign Analytics #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/smartlead-ai-campaign-statistics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

smartlead-ai-campaign-statistics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Smartlead Ai Campaign Statistics API
  version: 1.0.0
  contact:
    name: SmartLead Support
    email: support@smartlead.ai
    url: https://smartlead.ai
  description: 'Operations tagged Campaign Statistics across 2 of this provider''s published API definitions: smartlead-ai-campaign-statistics-api-openapi.yml, smartlead-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://server.smartlead.ai/api
  description: Production server
- url: https://staging.smartlead.ai/api
  description: Staging server (for testing)
security:
- ApiKeyAuth: []
tags:
- name: Campaign Statistics
  description: Retrieve detailed campaign performance metrics
paths:
  /v1/campaigns/{campaign_id}/statistics:
    get:
      tags:
      - Campaign Statistics
      summary: Get Campaign Statistics
      description: 'Retrieves detailed statistics for a campaign including email sent, opened, clicked, replied, bounced, and unsubscribed counts.


        Supports filtering and pagination.

        '
      operationId: getCampaignStatistics
      parameters:
      - $ref: '#/components/parameters/ApiKeyParam'
      - name: campaign_id
        in: path
        required: true
        schema:
          type: integer
      - name: offset
        in: query
        schema:
          type: integer
          minimum: 0
          default: 0
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 1000
          default: 100
      responses:
        '200':
          description: Statistics retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignStatistics'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    servers:
    - url: https://server.smartlead.ai/api
      description: Production server
    - url: https://staging.smartlead.ai/api
      description: Staging server (for testing)
  /v1/campaigns/{campaign_id}/analytics:
    get:
      tags:
      - Campaign Statistics
      summary: Get Campaign Analytics
      description: 'Retrieves comprehensive campaign analytics including performance metrics over time.

        '
      operationId: getCampaignAnalytics
      parameters:
      - $ref: '#/components/parameters/ApiKeyParam'
      - name: campaign_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Analytics retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignAnalytics'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    servers:
    - url: https://server.smartlead.ai/api
      description: Production server
    - url: https://staging.smartlead.ai/api
      description: Staging server (for testing)
components:
  schemas:
    CampaignAnalytics:
      type: object
      properties:
        campaign_id:
          type: integer
        metrics:
          type: object
        time_series:
          type: array
          items:
            type: object
    CampaignStatistics:
      type: object
      properties:
        total_leads:
          type: integer
        emails_sent:
          type: integer
        emails_opened:
          type: integer
        emails_clicked:
          type: integer
        emails_replied:
          type: integer
        emails_bounced:
          type: integer
        unsubscribed:
          type: integer
        open_rate:
          type: number
        click_rate:
          type: number
        reply_rate:
          type: number
        bounce_rate:
          type: number
  responses:
    NotFoundError:
      description: Resource not found
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Resource not found
    UnauthorizedError:
      description: Unauthorized - Invalid or missing API key
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Invalid API Key
          example:
            message: Invalid API Key
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Internal server error occurred
  parameters:
    ApiKeyParam:
      name: api_key
      in: query
      description: Your SmartLead API key for authentication
      required: true
      schema:
        type: string
      example: REDACTED_STRIPE_KEY
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: api_key
      description: 'Your SmartLead API key. You can generate this from your dashboard under Settings > API Keys.


        Include this as a query parameter in all API requests:

        ```

        ?api_key=YOUR_API_KEY

        ```

        '
x-refined-from:
- smartlead-ai-campaign-statistics-api-openapi.yml
- smartlead-ai-openapi.yml