Skip to main content
POST
/
api
/
auth
/
signup
User sign up
curl --request POST \
  --url https://payments.oaknetwork.org/api/auth/signup \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "password": "SecurePass123!"
}
'
{
  "msg": "User Created Successfully!, Created email verification token!, Verification link emailed to user!, User Created Successfully!",
  "data": null
}

Body

application/json
email
string<email>
required

User's email address

Example:

"user@example.com"

password
string
required

User's password

Example:

"SecurePass123!"

Response

User created successfully and verification email sent

msg
string
required

Human-readable message describing the result

data
any
required

Response payload (null on error)