> For the complete documentation index, see [llms.txt](https://roqqu-api-services.gitbook.io/ras/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://roqqu-api-services.gitbook.io/ras/customers/whitelist-customer.md).

# Whitelist Customer

Remove a customer from the blacklist.

**Endpoint:** `POST /customers/whitelist`

#### Request Parameters <a href="#request-parameters-8" id="request-parameters-8"></a>

| Parameter | Type   | Required | Description                         |
| --------- | ------ | -------- | ----------------------------------- |
| email     | string | Yes      | Email of customer to be whitelisted |
| reason    | string | Yes      | Reason to whitelist                 |

#### Example Request <a href="#example-request-12" id="example-request-12"></a>

```
curl -X POST https://service.roqqu.com/v1/customers/whitelist \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "email=jean@email.com" \
  -d "reason=customer resolved issues"
```

#### Example Response <a href="#example-response-12" id="example-response-12"></a>

```
{
  "status": "success",
  "message": "customer removed from blacklist successfully",
  "data": 2
}
```
