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

# Get Campaign

> Returns detailed data for a specific campaign.

## Headers

<ParamField header="token" type="string" required>
  Your LinkedCamp API token.
</ParamField>

## Path Parameters

<ParamField path="campaignId" type="string" required>
  The ID of the campaign. You can get this from the campaign URL or from the [List Campaigns](/api-reference/campaigns/list-campaigns) endpoint.
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Whether the request was successful.
</ResponseField>

<ResponseField name="message" type="string">
  A human-readable result message.
</ResponseField>

<ResponseField name="data" type="object">
  The campaign details.

  <Expandable title="Campaign Properties">
    <ResponseField name="_id" type="string">
      Campaign ID.
    </ResponseField>

    <ResponseField name="title" type="string">
      Campaign name.
    </ResponseField>

    <ResponseField name="keywords" type="array">
      Search keywords associated with the campaign.
    </ResponseField>

    <ResponseField name="url" type="string">
      LinkedIn search URL.
    </ResponseField>

    <ResponseField name="status" type="string">
      Current campaign status.
    </ResponseField>

    <ResponseField name="total" type="number">
      Total number of leads.
    </ResponseField>

    <ResponseField name="stats" type="object">
      Campaign statistics and metrics.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET https://api.linkedcamp.com/campaigns/60f7a1b2c3d4e5f6a7b8c9d0 \
    -H "token: YOUR_API_TOKEN"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.linkedcamp.com/campaigns/60f7a1b2c3d4e5f6a7b8c9d0",
      headers={"token": "YOUR_API_TOKEN"},
  )
  print(response.json())
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    "https://api.linkedcamp.com/campaigns/60f7a1b2c3d4e5f6a7b8c9d0",
    {
      headers: { "token": "YOUR_API_TOKEN" },
    }
  );
  const data = await response.json();
  console.log(data);
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Campaign found successfully!",
    "data": {
      "_id": "60f7a1b2c3d4e5f6a7b8c9d0",
      "title": "Outreach Campaign",
      "url": "https://www.linkedin.com/search/results/people/...",
      "status": "ACTIVE",
      "total": 150,
      "stats": {}
    }
  }
  ```

  ```json 200 - Not found theme={null}
  {
    "success": false,
    "message": "Campaign not found!"
  }
  ```
</ResponseExample>
