> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coldsend.pro/llms.txt
> Use this file to discover all available pages before exploring further.

# Get per-link click breakdown

> **Get per-link click statistics for a campaign**

Returns a breakdown of clicks per individual link in the campaign's emails,
including verified and raw click counts and unique leads per link.

## Example

```python
import requests

response = requests.get(
    "https://api.coldsend.io/api/public/v1/analytics/campaigns/550e8400-e29b-41d4-a716-446655440000/ctr/links",
    headers={"X-API-Key": "your-api-key"}
)
print(response.json())
```



## OpenAPI

````yaml /public_openapi.json get /api/public/v1/analytics/campaigns/{campaign_id}/ctr/links
openapi: 3.0.3
info:
  title: ColdSend Public API
  description: >-
    Programmatic access to ColdSend for managing cold email campaigns and sender
    accounts.
  version: 1.0.0
  contact:
    name: ColdSend Support
    email: support@coldsend.pro
    url: https://coldsend.pro
servers:
  - url: https://api.coldsend.pro
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/public/v1/analytics/campaigns/{campaign_id}/ctr/links:
    get:
      tags:
        - Analytics
      summary: Get per-link click breakdown
      description: >-
        **Get per-link click statistics for a campaign**


        Returns a breakdown of clicks per individual link in the campaign's
        emails,

        including verified and raw click counts and unique leads per link.


        ## Example


        ```python

        import requests


        response = requests.get(
            "https://api.coldsend.io/api/public/v1/analytics/campaigns/550e8400-e29b-41d4-a716-446655440000/ctr/links",
            headers={"X-API-Key": "your-api-key"}
        )

        print(response.json())

        ```
      operationId: >-
        get_campaign_ctr_links_api_public_v1_analytics_campaigns__campaign_id__ctr_links_get
      parameters:
        - name: campaign_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Campaign Id
        - name: verified
          in: query
          required: false
          schema:
            type: boolean
            description: If true, use verified (non-bot) click counts.
            default: true
            title: Verified
          description: If true, use verified (non-bot) click counts.
      responses:
        '200':
          description: Link breakdown retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkBreakdownResponse'
        '401':
          description: Missing or invalid API key
        '403':
          description: Insufficient permissions - requires 'campaigns:read' scope
        '404':
          description: Campaign not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    LinkBreakdownResponse:
      properties:
        campaign_id:
          type: string
          title: Campaign Id
          description: Campaign ID
        links:
          items:
            $ref: '#/components/schemas/LinkBreakdownItem'
          type: array
          title: Links
          description: Per-link click breakdown items
      type: object
      required:
        - campaign_id
      title: LinkBreakdownResponse
      description: Per-link click breakdown for a campaign.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LinkBreakdownItem:
      properties:
        link_index:
          type: integer
          title: Link Index
          description: Zero-based index of this link within the email body
        sequence_step:
          type: integer
          title: Sequence Step
          description: Sequence step number
        original_url:
          type: string
          title: Original Url
          description: Original destination URL
        verified_clicks:
          type: integer
          title: Verified Clicks
          description: Verified (non-bot) clicks on this link
        raw_clicks:
          type: integer
          title: Raw Clicks
          description: Total raw clicks on this link
        unique_verified_leads:
          type: integer
          title: Unique Verified Leads
          description: Distinct leads with verified clicks on this link
      type: object
      required:
        - link_index
        - sequence_step
        - original_url
        - verified_clicks
        - raw_clicks
        - unique_verified_leads
      title: LinkBreakdownItem
      description: Per-link click breakdown item.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key with format cs_live_xxx

````