> For the complete documentation index, see [llms.txt](https://docs.w3lcome.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.w3lcome.com/blockedlist/insert-a-person-on-the-blacklist.md).

# Insert a Person on the Blocked List

## Push a person

<mark style="color:green;">`POST`</mark> `https://api.w3lcome.com/v1/blockedlist`

This endpoint allows you to add a person to the blocked list

#### Headers

| Name           | Type   | Description      |
| -------------- | ------ | ---------------- |
| Content-Type   | string | application/JSON |
| Authentication | string | Basic `token`    |

#### Request Body

| Name     | Type   | Description                                              |
| -------- | ------ | -------------------------------------------------------- |
| id       | string | You can send an id or it will be generated automatically |
| name     | string |                                                          |
| reason   | string |                                                          |
| phone    | string |                                                          |
| email    | string |                                                          |
| document | string |                                                          |
| cpf      | string | Must be a valid CPF                                      |
| rg       | string |                                                          |

{% tabs %}
{% tab title="200 Success" %}

```javascript
{
    "id": "dc08c9dc-7aaa-4356-8268-f265b91a1624",
    "name": "Alisson Enz Rossi",
    "type": "blacklist",
    "email": "alisson@w3lcome.com",
    "phone": "43999820420",
    "cpf": "99999999999",
    "rg": "11111111"
}
```

{% endtab %}

{% tab title="400 Error" %}

```javascript
{
    "type": "ALREADY_EXISTS"
}
```

{% endtab %}
{% endtabs %}
