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

Body

application/json
username
string
required
name
string
required
address
string
required
signature
string
required
message
string
required
invite_key
string
required

Response

Successful Response

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