This endpoint requires authentication with a valid JWT token and CUSTOMER role.
Authentication
Bearer token for authentication
Response
The user’s temporary email address
Timestamp when the email was created
Example Request
curl -X GET "http://localhost:3333/mail/tmp/email" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
Response Example
Error Responses
Unauthorized - Invalid or missing token
Forbidden - User does not have CUSTOMER role
Not Found - No temporary email found for this user