Fumadocs

Create a user

POST
/user/signup

Time to create a user account, eh?

Request Body

User to create

  1. body

Credentials to authenticate a user

name?string
email*string
Formatemail
password*string

Response Body

User account created successfully

  1. response

A user

id?integer
Formatint64
name?string
curl -X POST 'https://galaxy.scalar.com/user/signup' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Marc",
  "email": "marc@scalar.com",
  "password": "i-love-scalar"
}'
Example Response
{
  "id": 1,
  "name": "Marc"
}