---
title: "Create a network"
method: POST
path: "/prefixes"
tags: ["Prefixes"]
---

# Create a network

`POST /prefixes`

Provision a customer network: an IPv4 block of the chosen size plus a paired IPv6 /64. The network is allocated synchronously and returned in the response; billing is settled in the background.

## Request body

- CreatePrefix
  - `data` object, required
    - `type` 'prefixes', required
    - `attributes` object
      - `project_id` string, required — The project to create the network in
      - `site` string, required — The site slug the network is bound to
      - `size` 26 | 27 | 28 | 29, required — IPv4 prefix length. Determines how many servers the network can host.

## Response `201`

Created

## Other responses

- `403` — Forbidden
- `409` — Conflict
- `422` — Unprocessable Entity

## Changes

- **2026-08-15** `248f954a4e29` — 1 warning, 2 info
  - added the new `29.00` enum value to the `data/attributes/size` response property for the response status `201`
  - added the new `29.00` enum value to the request property `data/attributes/size` (media type: application/json)
  - added the new `29.00` enum value to the request property `data/attributes/size` (media type: application/vnd.api+json)
- **2026-08-05** `ae7dcb22727c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/latitude/apis/latitude-sh-api/changes/prefixes/post.md)

---

[API](https://skmtc.dev/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.dev/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc.dev/latitude/apis/latitude-sh-api/revisions/8c1ea1759870?raw)
