Skip to content
API Referencev1.0.0 · 11 endpoints
GitHubDiscord

Time to create a user account, eh?

Authentication
POST
https://galaxy.scalar.com/user/signup
Try it

Request Body

User to create

Media Type
object
id?
integer <int64>
name?
string
email
string <email>Required
password
stringRequired

Responses

201

User account created successfully

Media Type
User

A user

id?
integer <int64>
name?
string
400

Bad Request

Media Type
BadRequestError

RFC 7807 (https://datatracker.ietf.org/doc/html/rfc7807)

type?
string
title?
string
status?
integer <int64>
detail?
string
401

Unauthorized

Media Type
UnauthorizedError

Error response for unauthorized access (RFC 7807). Returned when authentication is required or has failed.

type?
string
title?
string
status?
integer <int64>
detail?
string
403

Forbidden

Media Type
ForbiddenError

Error response for forbidden access (RFC 7807). Returned when the user does not have permission to access the requested resource.

type?
string
title?
string
status?
integer <int64>
detail?
string
409

Conflict

Media Type
Conflict

Error response for resource conflicts (RFC 7807). Returned when the request conflicts with the current state of the resource.

type?
string
title?
string
status?
integer <int64>
detail?
string
422

Unprocessable Entity

Media Type
UnprocessableEntity

Error response for unprocessable entity (RFC 7807). Returned when the request is well-formed but contains semantic errors.

type?
string
title?
string
status?
integer <int64>
detail?
string

Code Samples

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 Responses

{
  "id": 1,
  "name": "Marc"
}