3 endpoints
Users
Base path: /users · Source: backend/src/modules/users/users.controller.ts
/users/me bearer
Obtener mi perfil
Ejemplo curl
curl -X GET 'https://api.mosend.dev/users/me' \ -H 'Authorization: Bearer YOUR_TOKEN'
/users/me bearer
Actualizar mi perfil
Body
UpdateUserDtoparámetro: dtoEjemplo curl
curl -X PATCH 'https://api.mosend.dev/users/me' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}'/users/me/change-password bearer
Cambiar contraseña (revoca sesiones existentes)
Body
ChangePasswordDtoparámetro: dtoEjemplo curl
curl -X POST 'https://api.mosend.dev/users/me/change-password' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}'