---
title: "Register as a new user (if allowed)"
method: POST
path: "/register"
tags: ["Authentication"]
---

# Register as a new user (if allowed)

`POST /register`

Does not use authentication. Requires username, password and email.

## Query parameters

- `username` string, required
- `password` string, required
- `email` string, required
- `fullname` string

## Request body

- object
  - `username` string, required
  - `password` string, required — hash('sha256', password)
  - `email` string, required
  - `fullname` string

## Response `200`

Success or error

- object

## Other responses

- `400` — Ampache API error response payload.

## Changes

- **2026-07-17** `9abb9bf6d3bf` — 1 breaking, 1 info
  - removed the request body
  - removed the non-success response with the status `400`
- **2026-07-08** `29c9c9906bf6` — 1 info
  - added optional request body
- **2026-06-25** `7ed7a764efd9` — 1 info
  - added the non-success response with the status `400`

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/register/post.md)

---

[API](https://skmtc.dev/ampache/apis/ampache-rest-api.md) · [All operations](https://skmtc.dev/ampache/apis/ampache-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ampache/ampache-rest-api/revisions/0366bc42fb8f/schema)
