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

# Update Lead Status

> Updates the status of a specific lead

## Overview

Updates the status of a specific lead in your campaign. This allows you to manually change lead states based on your workflow or external triggers.

## Available Statuses

Lead statuses control how the lead is processed in campaigns:

* `waiting` - Lead is queued to be contacted
* `active` - Lead is being actively contacted
* `paused` - Lead processing is temporarily stopped
* `completed` - Lead has completed the campaign sequence
* `error` - An error occurred during processing

## Use Cases

* Pause outreach to specific leads
* Mark leads as completed manually
* Reset lead status after resolving issues
* Integrate with external CRM systems


## OpenAPI

````yaml PUT /v1/leads/{leadId}/status
openapi: 3.1.0
info:
  title: WaLead API
  description: >-
    WaLead Public API for managing LinkedIn outreach campaigns, leads, and
    analytics
  version: 1.0.0
  contact:
    name: WaLead Support
    url: https://walead.ai
servers:
  - url: https://app-api.walead.ai/api
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /v1/leads/{leadId}/status:
    put:
      summary: Update Lead Status
      description: Updates the status of a specific lead
      parameters:
        - name: leadId
          in: path
          description: Lead ID
          required: true
          schema:
            type: string
      requestBody:
        description: New lead status
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - status
              properties:
                status:
                  type: string
                  enum:
                    - waiting
                    - active
                    - paused
                    - completed
                    - error
                  description: New status for the lead
      responses:
        '200':
          description: Lead status updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  leadId:
                    type: string
                  status:
                    type: string
        '400':
          description: Bad request - status is required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - Invalid API Key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Lead not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          description: HTTP status code
        message:
          type: string
          description: Error message
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Generate from your WaLead dashboard.

````