3 endpoints

Users

Base path: /users · Source: backend/src/modules/users/users.controller.ts

GET/users/me
bearer

Obtener mi perfil

Ejemplo curl

curl -X GET 'https://api.mosend.dev/users/me' \
  -H 'Authorization: Bearer YOUR_TOKEN'
PATCH/users/me
bearer

Actualizar mi perfil

Body

UpdateUserDtoparámetro: dto

Ejemplo curl

curl -X PATCH 'https://api.mosend.dev/users/me' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{}'
POST/users/me/change-password
bearer

Cambiar contraseña (revoca sesiones existentes)

Body

ChangePasswordDtoparámetro: dto

Ejemplo curl

curl -X POST 'https://api.mosend.dev/users/me/change-password' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{}'