Skip to main content
POST
/
auth
/
register-email
Register With Email
curl --request POST \
  --url https://api.faces.sh/auth/register-email \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "<string>",
  "password": "<string>",
  "username": "<string>",
  "invite_key": "<string>"
}
'
{
  "success": true,
  "messages": [],
  "data": {
    "token": "<string>",
    "user_id": "<string>",
    "is_admin": true
  },
  "error": "<string>",
  "meta": {}
}

Body

application/json
name
string
required
email
string
required
password
string
required
username
string | null
invite_key
string | null

Response

Successful Response

success
boolean
required
messages
string[] | null
data
RegisterResponse · object
error
meta
Meta · object