---
title: "Create"
method: POST
path: "/v1/ip_addresses"
tags: ["IP Addresses"]
---

# Create

`POST /v1/ip_addresses`

Creates a new IP address with the specified data.

## Request body

- IpAddressCreateSpec — IP address creation request parameters
  - `ip_address` IpAddressCreate, required — IP address creation request parameters
    - `address` string, required — IP address
    - `organization_id` integer, required — Organization ID that the IP address belongs to
    - `network_id` integer, required — Network ID that the IP address belongs to
    - `dynamic_hostname` string — Dynamic hostname of the IP address

## Response `201`

Created IP address basic information

- object
  - `data` IpAddressSpec — IpAddress specification
    - `id` string — Resource Id (integer or uuid)
    - `type` string — Resource type name
    - `uuid` string — Resource UUID (if applicable)
    - `attributes` IpAddress — IpAddress resource
      - `ip` string — IP
      - `address` string — IP address
      - `network_id` integer — Network ID
      - `organization_id` integer — Organization ID
    - `relationships` object — IP address associated network
      - `network` object
        - `data` IdType — JSON API resource ID and type attributes
          - `id` string — Resource Id (integer or uuid)
          - `type` string — Resource type name
          - `uuid` string — Resource UUID (if applicable)

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Can not create IP address with the specified data

---

[API](https://skmtc.net/dnsfilter/apis/dnsfilter-api.md) · [All operations](https://skmtc.net/dnsfilter/apis/dnsfilter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dnsfilter/dnsfilter-api/revisions/29e5e6ee3316/schema)
