---
title: "Create a new account"
method: POST
path: "/accounts"
tags: ["Accounts"]
---

# Create a new account

`POST /accounts`

The creation of an account requires some background processing. There is no instant feedback of the creation status.

## Request body

- CreateAccount
  - `identifier` string — An identifier for the account. Should be a domain name for hosting accounts.
  - `servicepack_id` integer — The servicepack id that defines the account.
  - `ftp_password` string — Ftp password for the account. Applies only if the servicepack contains hosting. Passwords have to adhere to following rules: <ul><li>Between 8-20 characters.</li><li>Must be a mix of letters and digits.</li><li>Must contain at least one digit (0-9).</li><li>Must contain at least one letter (a-z).</li><li>Cannot contain spaces.</li><li>Cannot contain characters: * € $ & + } { ' " \ </li></ul>

## Response `202`

Accepted

## Other responses

- `400` — Bad Request

---

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