v1

latestOpenAPI 3.0.0Apache 2.02026-07-179012215.4 KB
auth

Create new user

This can only be done by the logged in user.

post/api/auth/signup

Request body

emailstring
passwordstring
namestring
companystring
languagestring
redirectSuccessstring

Example request

{
  "email": "user@gmail.com",
  "password": "anything secure",
  "name": "John Smith",
  "company": "CitizenOS",
  "language": "en",
  "redirectSuccess": "https://mysite.com/success"
}

Response

User created successfully

Example response

{
  "status": {
    "code": 20000
  },
  "data": {
    "id": "2345-23523-25-235-",
    "name": "John Smith",
    "company": "CitizenOS",
    "language": "en",
    "email": "john.smith@gmail.com",
    "imageUrl": "https://images.com/john-smith.jpg"
  }
}
All 90 operations