Skip to main content
POST
/
v1
/
auth
/
users
/
signup
Sign up
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({email: 'jsmith@example.com', password: '<string>', name: '<string>'})
};

fetch('http://localhost:8000/v1/auth/users/signup', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {
    "message": "<string>"
  },
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Body

application/json
email
string<email>
required
password
string
required
Minimum string length: 8
name
string

Response

User created successfully

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required