---
search:
  tags:
    - sites
    - POST
seo:
  description: >-
    Without a name, the site gets a generated one, an adjective, an animal and a
    random suffix like… Reference for the POST /v1/sites endpoint in the pols.so
    API.
sidebar:
  label: Create a site, without a version yet
  badge: POST
title: Create a site, without a version yet
type: openapi-operation
---
Without a `name`, the site gets a generated one, an adjective, an
animal and a random suffix like `braveotterk3f9`. A name can be
taken (409 `conflict`) by a site of any org, a sandbox's host label,
or a site the org or another org had before: names are never handed
to another org. The org's number of sites is limited (403
`quota_exceeded`).

With a `source`, the site is built from that GitHub repository (see
`PUT /v1/sites/{site}/source`). Without a `name`, it is then named
after the repository when that name is free and valid, else the
repository's name with a random suffix (`my-app-k3f9`), else a
generated one.

`POST /v1/sites`
