Hikka Docs Hikka Docs
EndpointsAuth

Signup

POST
/auth/signup

Header Parameters

captcha*string

Request Body

application/json

email*string
Formatemail
password*string
Length8 <= length <= 256
username*string
Match^[A-Za-z][A-Za-z0-9_]{4,63}$
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://api.hikka.io/auth/signup" \  -H "captcha: string" \  -H "Content-Type: application/json" \  -d '{    "email": "hikka@email.com",    "password": "password",    "username": "hikka"  }'
{
  "expiration": 1686088809,
  "created": 1686088809,
  "secret": "CQE-CTXVFCYoUpxz_6VKrHhzHaUZv68XvxV-3AvQbnA"
}
{
  "message": "Example error message",
  "code": "example_error"
}