> 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/ip-whitelist/whitelist-ip.md).

# Whitelist IP

Add a new IP address to the whitelist.

**Endpoint:** `POST /ip`

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

| Parameter   | Type   | Required | Description               |
| ----------- | ------ | -------- | ------------------------- |
| ip\_name    | string | Yes      | Server Name or Identifier |
| ip\_address | string | Yes      | Server Address            |

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

```
curl -X POST https://service.roqqu.com/v1/ip \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "ip_name=Transaction Processor" \
  -d "ip_address=112.199.212.099"
```

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

```
{
  "status": "success",
  "message": "ip address saved successfully",
  "data": [1]
}
```
