POST
/
v1
/
auth
/
signup
curl --location --request POST 'https://api.lawg.dev/v1/auth/signup' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username": "",
    "email": "",
    "password": "",
    "invite": ""
}'
{
  "success": true,
  "data": {
    "token": "session_xxxxx"
  }
}
You can not be authenticated to access this route

Body

username
string
required
The username of the user you want signup as.
email
string
required
The email of the user you want signup as.
password
string
required
The password of the user you want signup as.
invite
string
required
The invite code (temporary in private beta.)

Response

success
boolean
Indicates whether the call was successful. true if successful, false if not.
data
object
The contents of the data object
curl --location --request POST 'https://api.lawg.dev/v1/auth/signup' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username": "",
    "email": "",
    "password": "",
    "invite": ""
}'
{
  "success": true,
  "data": {
    "token": "session_xxxxx"
  }
}