Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Luisanchez0/modulo_Horario/llms.txt
Use this file to discover all available pages before exploring further.
GET /auth/me decodes and verifies the JWT passed in the Authorization header, then returns the token payload. Other services in Módulo Horario call this endpoint internally to check the caller’s role before allowing write operations. You can use it to verify that a stored token is still valid.
Base URL: http://localhost:8001
Request
Headers
Bearer token obtained from
POST /auth/login. Format: Bearer eyJ...Response
- 200 — success
Example
The payload returned is the raw JWT body — it reflects the information encoded at login time. If an admin updates the user’s role after the token was issued, the response here will not reflect the change until the user logs in again.