Skip to main content
POST
/
auth
/
v1
/
users
cURL
curl --request POST \
  --url https://api-dev.meeamitech.com/auth/v1/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "password": "<string>"
}
'
{
  "message": "User Created Successfully",
  "data": {
    "_id": "5f43a9f4f36d287b3f9e6b4b",
    "teamId": "5f43a9f4f36d287b3f9e6b3h",
    "firstName": "John",
    "lastName": "Doe",
    "email": "[email protected]",
    "password": "securepassword123",
    "createdAt": "2025-02-07T10:05:15.793Z",
    "updatedAt": "2025-02-07T10:05:15.793Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Plant to add to the store

firstName
string
required

The first name of the user

lastName
string
required

The last name of the user

email
string
required

The email of the user

password
string
required

The password of the user

Response

200 - application/json

User is created successfully

firstName
string
required

The first name of the user

lastName
string
required

The last name of the user

email
string
required

The email of the user

password
string
required

The password of the user

id
integer<int64>
required

Identification number of the plant

teamId
integer<int64>

Team ID that the user belongs to

createdAt
string<date-time>

Date and time when the User was added to the store

updatedAt
string<date-time>

Date and time when the user was last updated