POST
/
api
/
user
curl --request POST \
  --url https://api.plazbot.com/api/user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Juan",
  "lastName": "Pérez",
  "email": "juan.perez@example.com",
  "password": "SecurePassword123!",
  "defaultStartWeek": 1,
  "company": "plazbot",
  "isExternalCreation": true
}'
{
  "success": true,
  "code": 200,
  "message": "Usuario creado exitosamente",
  "data": {
    "userId": "12345-abcde-67890",
    "email": "juan.perez@example.com"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Usuario creado exitosamente

The response is of type object.