> ## 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 a single lead

> **Get detailed information about a specific lead**

Returns full lead data including email interaction history and any replies
received from the lead.

## Example

```python
import requests

campaign_id = "550e8400-e29b-41d4-a716-446655440000"
lead_id     = "650e8400-e29b-41d4-a716-446655440000"

response = requests.get(
    f"https://api.coldsend.io/api/public/v1/campaigns/{campaign_id}/leads/{lead_id}",
    headers={"X-API-Key": "your-api-key"}
)
print(response.json())
```



## OpenAPI

````yaml /public_openapi.json get /api/public/v1/campaigns/{campaign_id}/leads/{lead_id}
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/campaigns/{campaign_id}/leads/{lead_id}:
    get:
      tags:
        - Leads
      summary: Get a single lead
      description: >-
        **Get detailed information about a specific lead**


        Returns full lead data including email interaction history and any
        replies

        received from the lead.


        ## Example


        ```python

        import requests


        campaign_id = "550e8400-e29b-41d4-a716-446655440000"

        lead_id     = "650e8400-e29b-41d4-a716-446655440000"


        response = requests.get(
            f"https://api.coldsend.io/api/public/v1/campaigns/{campaign_id}/leads/{lead_id}",
            headers={"X-API-Key": "your-api-key"}
        )

        print(response.json())

        ```
      operationId: get_lead_api_public_v1_campaigns__campaign_id__leads__lead_id__get
      parameters:
        - name: campaign_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Campaign Id
        - name: lead_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Lead Id
      responses:
        '200':
          description: Lead retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LeadDetailResponse'
        '401':
          description: Missing or invalid API key
        '403':
          description: Insufficient permissions - requires 'leads:read' scope
        '404':
          description: Lead or campaign not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    LeadDetailResponse:
      properties:
        lead_id:
          type: string
          format: uuid
          title: Lead Id
          description: Lead ID
        email:
          type: string
          title: Email
          description: Lead email address
        first_name:
          type: string
          nullable: true
          title: First Name
          description: First name
        last_name:
          type: string
          nullable: true
          title: Last Name
          description: Last name
        company:
          type: string
          nullable: true
          title: Company
          description: Company name
        custom_fields:
          additionalProperties: true
          type: object
          title: Custom Fields
          description: Custom lead fields
        status:
          type: string
          title: Status
          description: Lead status
        sequence_step:
          type: integer
          title: Sequence Step
          description: Current sequence step
          default: 0
        next_followup_scheduled_for:
          type: string
          format: date-time
          nullable: true
          title: Next Followup Scheduled For
          description: When the next pending follow-up is scheduled
        last_contacted_at:
          type: string
          format: date-time
          nullable: true
          title: Last Contacted At
          description: Last contact timestamp
        opened_at:
          type: string
          format: date-time
          nullable: true
          title: Opened At
          description: Email opened timestamp
        replied_at:
          type: string
          format: date-time
          nullable: true
          title: Replied At
          description: Reply timestamp
        email_opened:
          type: boolean
          title: Email Opened
          description: Whether email was opened
          default: false
        email_replied:
          type: boolean
          title: Email Replied
          description: Whether lead replied
          default: false
        unsubscribed:
          type: boolean
          title: Unsubscribed
          description: Whether lead unsubscribed
          default: false
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Lead creation timestamp
        delivery_status:
          type: string
          nullable: true
          title: Delivery Status
          description: Delivery status from Azure (latest email)
        email_interactions:
          items:
            $ref: '#/components/schemas/EmailInteractionResponse'
          type: array
          title: Email Interactions
          description: List of email interactions
        replies:
          items:
            $ref: '#/components/schemas/ReplyResponse'
          type: array
          title: Replies
          description: List of replies from the lead
      type: object
      required:
        - lead_id
        - email
        - first_name
        - last_name
        - company
        - status
        - last_contacted_at
        - opened_at
        - replied_at
        - created_at
      title: LeadDetailResponse
      description: Detailed response schema for individual lead with interaction history.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EmailInteractionResponse:
      properties:
        email_id:
          type: string
          format: uuid
          title: Email Id
          description: Email ID
        sequence_step:
          type: integer
          title: Sequence Step
          description: Sequence step number
        subject:
          type: string
          title: Subject
          description: Email subject
        sent_at:
          type: string
          format: date-time
          title: Sent At
          description: When the email was sent
        opened_at:
          type: string
          format: date-time
          nullable: true
          title: Opened At
          description: When the email was opened
        replied_at:
          type: string
          format: date-time
          nullable: true
          title: Replied At
          description: When the lead replied
        inbox_email:
          type: string
          title: Inbox Email
          description: From email address
        sent:
          type: boolean
          title: Sent
          description: Whether email was sent successfully
        opened:
          type: boolean
          title: Opened
          description: Whether email was opened
        bounced:
          type: boolean
          title: Bounced
          description: Whether email bounced
      type: object
      required:
        - email_id
        - sequence_step
        - subject
        - sent_at
        - opened_at
        - replied_at
        - inbox_email
        - sent
        - opened
        - bounced
      title: EmailInteractionResponse
      description: Response schema for email interaction history.
    ReplyResponse:
      properties:
        reply_id:
          type: string
          format: uuid
          title: Reply Id
          description: Reply ID
        subject:
          type: string
          title: Subject
          description: Reply subject
        received_at:
          type: string
          format: date-time
          title: Received At
          description: When reply was received
        body_preview:
          type: string
          title: Body Preview
          description: Preview of reply body
        is_auto_reply:
          type: boolean
          title: Is Auto Reply
          description: Whether this is an auto-reply
        is_unsubscribe:
          type: boolean
          title: Is Unsubscribe
          description: Whether this is an unsubscribe request
      type: object
      required:
        - reply_id
        - subject
        - received_at
        - body_preview
        - is_auto_reply
        - is_unsubscribe
      title: ReplyResponse
      description: Response schema for lead replies.
    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

````