POST
/
api
/
auth
/
signup
curl --location --request POST 'http://localhost:3005/api/auth/signup' \
--header 'Accept: application/json' \
--data '{
  "email": "kiran@example.com",
  "password: "secret-password",
  "firstName": "John",
  "lastName": "Doe"
}'
{
  "data": {
    "id": 10,
    "email": "kiran@example.com",
    "firstName": "John",
    "lastName": "Doe",
    "createdAt": "2023-07-02T18:03:23.658Z",
    "updatedAt": "2023-07-02T18:03:23.658Z"
  }
}

Body

email
string
required
Email address of the user.
password
string
required
Password of the user.
firstName
string
required
First name of the user.
lastName
string
required
Last name of the user.
curl --location --request POST 'http://localhost:3005/api/auth/signup' \
--header 'Accept: application/json' \
--data '{
  "email": "kiran@example.com",
  "password: "secret-password",
  "firstName": "John",
  "lastName": "Doe"
}'
{
  "data": {
    "id": 10,
    "email": "kiran@example.com",
    "firstName": "John",
    "lastName": "Doe",
    "createdAt": "2023-07-02T18:03:23.658Z",
    "updatedAt": "2023-07-02T18:03:23.658Z"
  }
}