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

# Create Blacklist

> Add a blacklist entry to prevent outreach to specific profiles, job titles, or keywords.

## Headers

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

## Body Parameters

<ParamField body="type" type="string" required>
  The type of blacklist entry.

  Available values: `PROFILE_URL`, `JOB_TITLE`, `KEYWORD`
</ParamField>

<ParamField body="keyword" type="string" required>
  The value to blacklist. Depending on the type, this could be a LinkedIn profile URL, a job title, or a keyword.
</ParamField>

<ParamField body="linkedInAccountEmail" type="string">
  The LinkedIn account email to associate the blacklist with. **Required** if the user has more than one linked LinkedIn account.
</ParamField>

## Response

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

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

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://api.linkedcamp.com/blacklists \
    -H "token: YOUR_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "type": "PROFILE_URL",
      "keyword": "https://www.linkedin.com/in/johndoe"
    }'
  ```

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

  response = requests.post(
      "https://api.linkedcamp.com/blacklists",
      headers={"token": "YOUR_API_TOKEN"},
      json={
          "type": "PROFILE_URL",
          "keyword": "https://www.linkedin.com/in/johndoe",
      },
  )
  print(response.json())
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch("https://api.linkedcamp.com/blacklists", {
    method: "POST",
    headers: {
      "token": "YOUR_API_TOKEN",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      type: "PROFILE_URL",
      keyword: "https://www.linkedin.com/in/johndoe",
    }),
  });
  const data = await response.json();
  console.log(data);
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Blacklist added successfully!"
  }
  ```

  ```json 200 - Error theme={null}
  {
    "success": false,
    "message": "Invalid type (Possible Values: PROFILE_URL, JOB_TITLE, KEYWORD)"
  }
  ```
</ResponseExample>
