---
title: "auth signup"
method: POST
path: "/v1/auth/signup"
tags: ["v1", "auth"]
---

# auth signup

`POST /v1/auth/signup`

#### Controller: 

`github.com/ubccr/grendel/internal/api.(*Handler).AuthSignup`

#### Middlewares:

- `github.com/go-fuego/fuego.defaultLogger.middleware`

---

Signup user

## Headers

- `Accept` string

## Request body

- AuthSignupRequest — AuthSignupRequest schema
  - `password` string, required
  - `username` string, required

## Response `200`

OK

- AuthResponse — AuthResponse schema
  - `expire` integer
  - `role` string
  - `token` string
  - `username` string

## Other responses

- `default` — Default Error

## Changes

- **2025-03-21** `9e09e176e964` — 1 info
  - endpoint added
- **2024-12-03** `29c6a9c3f49b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ubccr/apis/grendel-api/changes/v1/auth/signup/post.md)

---

[API](https://skmtc.dev/ubccr/apis/grendel-api.md) · [All operations](https://skmtc.dev/ubccr/apis/grendel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ubccr/grendel-api/revisions/62eb4acab992/schema)
