---
name: "hiring_update_blocklist"
area: "hiring"
title: "Change the spam blocklist"
price: "$0.001"
method: "POST"
url: "https://api.conecto.chat/v1/tools/hiring_update_blocklist"
mcp_server: "https://api.conecto.chat/mcp/hiring"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/hiring/hiring_update_blocklist"
---

# Change the spam blocklist (`hiring_update_blocklist`)

Blocks or unblocks networks and email domains; what comes from them is kept as spam, with no fee and no emails.

Block or unblock networks and email domains, like Greenhouse's spam blocklist. Applications from them are kept as spam: no $0.50 fee, no emails, out of hiring_list_applicants unless spam is true, and the sender sees the usual thank-you. Applications already in stay where they are. $0.001.

Price: $0.001 a call. A call that fails costs nothing.

## Use it when

Junk applications keep arriving from one network or one made-up domain.

- For one application that is spam, use [hiring_mark_spam](https://conecto.chat/tools/hiring/hiring_mark_spam.md).

## Say this to your agent

> Block applications from spam-jobs.biz and from the network 198.51.100.0/24.

## Inputs

| Name | Type | Required | Description | Allowed values | Default |
|---|---|---|---|---|---|
| `add` | object | no |  |  |  |
| `add.ips` | array of strings | no | Addresses or ranges: "203.0.113.7", "198.51.100.0/24", "2001:db8::/48". Up to 100 items. |  |  |
| `add.email_domains` | array of strings | no | e.g. "spam-jobs.biz" (its subdomains too). Free providers like gmail.com are refused: block the network instead. Up to 100 items. |  |  |
| `remove` | object | no |  |  |  |
| `remove.ips` | array of strings | no | Addresses or ranges: "203.0.113.7", "198.51.100.0/24", "2001:db8::/48". Up to 100 items. |  |  |
| `remove.email_domains` | array of strings | no | e.g. "spam-jobs.biz" (its subdomains too). Free providers like gmail.com are refused: block the network instead. Up to 100 items. |  |  |

## Example

Written for Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon.

MCP: call `hiring_update_blocklist` on the MCP server `https://api.conecto.chat/mcp/hiring` with these arguments:

```json
{
  "add": {
    "ips": [
      "198.51.100.0/24"
    ],
    "email_domains": [
      "spam-jobs.biz"
    ]
  }
}
```

REST:

```bash
curl https://api.conecto.chat/v1/tools/hiring_update_blocklist \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"add": {"ips": ["198.51.100.0/24"], "email_domains": ["spam-jobs.biz"]}}'
```

## Response

```json
{
  "call_id": "5f0c8a2e-3b7d-4c1e-9a64-2d8e1f7b0c93",
  "tool": "hiring_update_blocklist",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$0.001",
  "balance_usd": "$19.75",
  "result": {
    "blocklist": {
      "ips": [
        "198.51.100.0/24"
      ],
      "email_domains": [
        "spam-jobs.biz"
      ]
    }
  }
}
```

`result`: blocklist: ips and email_domains as they are now.

## Errors

| Code | Status | When | Fix |
|---|---|---|---|
| `not_set_up` | 404 | The business has no careers page yet. | Run hiring_setup_careers first. |
| `invalid_input` | 400 | An address or range is not one, a domain is not a domain or is a free provider such as gmail.com, or the list would pass 500 networks or 200 domains. | Fix what the message names; block a free provider's spammer by network. |

The refusals every tool can give (401 key, 402 balance, 429 limits) are on the errors page: https://conecto.chat/docs/errors.md

## Related

- [hiring_setup_careers](https://conecto.chat/tools/hiring/hiring_setup_careers.md): Sets up the careers page at cncto.co/j/<name>: its name, intro, website, reply-to address and who hears about applications. $0.001 a call.
- [hiring_design_careers](https://conecto.chat/tools/hiring/hiring_design_careers.md): Gives the careers and job pages the business's own look: colours, a font, corners, a cover, a headline and its own CSS. $0.001 a call.
- [hiring_create_job](https://conecto.chat/tools/hiring/hiring_create_job.md): Posts a job with its own page and application form on the careers page. $0.01 a call.
- [hiring_update_job](https://conecto.chat/tools/hiring/hiring_update_job.md): Changes a job's details, its criteria and filter, or opens or closes it. $0.01 a call.
- [hiring_list_jobs](https://conecto.chat/tools/hiring/hiring_list_jobs.md): The business's jobs with their status, page and applicants per stage. Free up to 1,000,000 reads a month.
- [hiring_list_applicants](https://conecto.chat/tools/hiring/hiring_list_applicants.md): Applicants, newest or best match first: for one job or all, by stage, screening, risk, name or email, or the ones kept as spam. Free up to 1,000,000 reads a month.
- [hiring_get_applicant](https://conecto.chat/tools/hiring/hiring_get_applicant.md): One application in full: answers, résumé link, screening and match score, the checks on who sent it, notes and history. Free up to 1,000,000 reads a month.
- [hiring_screen_queue](https://conecto.chat/tools/hiring/hiring_screen_queue.md): The next applications nobody has screened, with the job's criteria and the résumé as text, blind by default. Free up to 1,000,000 reads a month.
- [hiring_record_screening](https://conecto.chat/tools/hiring/hiring_record_screening.md): Saves a review of one application: strong, partial or weak, a summary, and each criterion with its evidence. $0.01 a call.
- [hiring_mark_spam](https://conecto.chat/tools/hiring/hiring_mark_spam.md): Moves one application to spam or back, and can block the network and email domain it came from. $0.001 a call.
- [hiring_get_blocklist](https://conecto.chat/tools/hiring/hiring_get_blocklist.md): The networks and email domains whose applications are kept as spam. Free up to 1,000,000 reads a month.
- [hiring_move_applicant](https://conecto.chat/tools/hiring/hiring_move_applicant.md): Moves an applicant to another stage of their job, with a note; the candidate is not told. $0.01 a call.
- [hiring_hire_applicant](https://conecto.chat/tools/hiring/hiring_hire_applicant.md): Hires an applicant in one call: Hired in hiring, a person in HR with their résumé on file, and their onboarding checklist started. $0.25 a call.
- [hiring_note](https://conecto.chat/tools/hiring/hiring_note.md): Adds a note to an applicant, rates them 1 to 5, or both. $0.01 a call.
- [hiring_email_applicant](https://conecto.chat/tools/hiring/hiring_email_applicant.md): Emails an applicant in the business's name; replies go to the careers page's reply-to address. $0.02 a call.
- [hiring_invite_to_interview](https://conecto.chat/tools/hiring/hiring_invite_to_interview.md): Emails an applicant a link to book an interview on one of the calendar's meeting types, and can move them to a stage. $0.05 a call.
- [hiring_save_assessment](https://conecto.chat/tools/hiring/hiring_save_assessment.md): Writes a skills test or changes one: questions scored on their own, written answers to mark, a time limit and shuffling. $0.01 a call.
- [hiring_list_assessments](https://conecto.chat/tools/hiring/hiring_list_assessments.md): The business's skills tests: title, questions, time limit, and how many were sent and completed. Free up to 1,000,000 reads a month.
- [hiring_send_assessment](https://conecto.chat/tools/hiring/hiring_send_assessment.md): Emails an applicant their own link to a skills test. $0.02 a call.
- [hiring_assessment_results](https://conecto.chat/tools/hiring/hiring_assessment_results.md): An applicant's tests: status, score, each answer against the expected one, answers to mark, time taken and how often they left the page. Free up to 1,000,000 reads a month.
- [hiring_mark_assessment](https://conecto.chat/tools/hiring/hiring_mark_assessment.md): Gives points to the written answers of a completed test. $0.01 a call.
- [hiring_delete_assessment](https://conecto.chat/tools/hiring/hiring_delete_assessment.md): Deletes a skills test with every candidate's answers to it. Free.
- [hiring_delete_applicant](https://conecto.chat/tools/hiring/hiring_delete_applicant.md): Deletes an applicant and their résumé for good. Free.
- [hiring_dashboard_link](https://conecto.chat/tools/hiring/hiring_dashboard_link.md): A one-time link to hiring at a glance: each applicant's stage and next step, the tests and interviews waiting, and the open jobs. Free up to 1,000,000 reads a month.
