curl --request POST \
--url https://api.plazbot.com/api/user/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"success": true,
"code": 123,
"errorCode": "<string>",
"message": "<string>",
"data": {
"token": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"avatar": "<string>",
"role": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"company": "<string>"
}
}
}Servicio para validar el acceso a la plataforma mediante usuario y contrasena. Retorna un token Bearer para autenticacion.
curl --request POST \
--url https://api.plazbot.com/api/user/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"success": true,
"code": 123,
"errorCode": "<string>",
"message": "<string>",
"data": {
"token": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"avatar": "<string>",
"role": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"company": "<string>"
}
}
}