> ## 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.

# List Blacklists

> Returns blacklist entries for the authenticated user, optionally filtered by type.

## Headers

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

## Query Parameters

<ParamField query="type" type="string">
  Filter blacklist entries by type.

  Available values: `PROFILE_URL`, `KEYWORD`, `JOB_TITLE`
</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="array">
  Array of blacklist entries.

  <Expandable title="Blacklist Properties">
    <ResponseField name="keyword" type="string">
      The blacklisted value.
    </ResponseField>

    <ResponseField name="type" type="string">
      The blacklist type (PROFILE\_URL, JOB\_TITLE, or KEYWORD).
    </ResponseField>

    <ResponseField name="createdAt" type="number">
      Creation timestamp.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.linkedcamp.com/blacklists?type=PROFILE_URL" \
    -H "token: YOUR_API_TOKEN"
  ```

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

  response = requests.get(
      "https://api.linkedcamp.com/blacklists",
      headers={"token": "YOUR_API_TOKEN"},
      params={"type": "PROFILE_URL"},
  )
  print(response.json())
  ```

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

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Blacklist found successfully!",
    "data": [
      {
        "keyword": "https://www.linkedin.com/in/johndoe",
        "type": "PROFILE_URL",
        "createdAt": 1625000000000
      }
    ]
  }
  ```

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