---
title: "Create an account"
method: POST
path: "/api/auth/register"
tags: ["auth"]
---

# Create an account

`POST /api/auth/register`

## Request

- Base URL: `https://telawiki.com`
- URL: `https://telawiki.com/api/auth/register`
- Auth: none required

Open self-registration, when the instance allows it. Sends a confirmation email; the account cannot sign in until `verify-email` is called with the token from that link. Rate-limited to 6 per 15 minutes per client IP.

## Request body

- object
  - `email` string, email, required
  - `username` string, required: 1-64 characters. Also becomes the public handle at `/{username}`, so it may not collide with an organization slug.
  - `password` string, required

## Response `201`

Created; a confirmation email is on its way.

- object
  - `ok` true, required
  - `email` string, required: The normalized (lower-cased) address.

## Other responses

- `400`: Malformed request. `code` is usually `bad_request` or `invalid_json`.
- `403`: `registration_closed` — self-registration is disabled on this instance.
- `409`: `conflict` (email or username taken), `handle_taken`, or `handle_reserved`.
- `429`: `rate_limited` — retry after the interval in the `Retry-After` header.
- `500`: `internal` — server error.

---

[API](https://skmtc.dev/telawiki/apis/tela-rest-api.md) · [All operations](https://skmtc.dev/telawiki/apis/tela-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/telawiki/apis/tela-rest-api/revisions/f316f31f6fcb?raw)
