# Create IP authorization

## Create a new ip authorization

<mark style="color:green;">`POST`</mark> `https://api.ipnux.com/V1/OpenApi/OpenApiAddWhite`

**Headers**

| Name                                           | Type   | Description                       |
| ---------------------------------------------- | ------ | --------------------------------- |
| UserId<mark style="color:red;">\*</mark>       | String | "Authentication" generated userId |
| Token<mark style="color:red;">\*</mark>        | String | "Authentication" generated token  |
| Content-Type<mark style="color:red;">\*</mark> | String | application/json                  |

**Body**

| Name                                            | Type   | Description                                                                                               |
| ----------------------------------------------- | ------ | --------------------------------------------------------------------------------------------------------- |
| proxies\_type<mark style="color:red;">\*</mark> | string | Shared (ISP) proxies，Premium (ISP) proxies                                                                |
| address<mark style="color:red;">\*</mark>       | string | The IP address to authorize. May return 400 error if this IP address is already authorized in the system. |

**Response**

{% tabs %}
{% tab title="200: OK "Code":1000,"Message":"Successful"" %}

```json
{
	"Code": 1000,
	"Message": "Successful",
	"Data": true
}
```

{% endtab %}
{% endtabs %}
