curl --request GET \
--url https://api.myidvirtual.com/mail/tmp/inbox \
--header 'Authorization: <authorization>'{
"401": {},
"403": {},
"emails": [
{
"id": "<string>",
"from": "<string>",
"subject": "<string>",
"received_at": "<string>"
}
]
}Retrieve all emails received in the temporary email inbox
curl --request GET \
--url https://api.myidvirtual.com/mail/tmp/inbox \
--header 'Authorization: <authorization>'{
"401": {},
"403": {},
"emails": [
{
"id": "<string>",
"from": "<string>",
"subject": "<string>",
"received_at": "<string>"
}
]
}curl -X GET "http://localhost:3333/mail/tmp/inbox" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
{
"emails": [
{
"id": "email_123",
"from": "[email protected]",
"subject": "Welcome to our service",
"received_at": "2024-01-15T10:35:00Z"
},
{
"id": "email_124",
"from": "[email protected]",
"subject": "Verify your account",
"received_at": "2024-01-15T10:40:00Z"
}
]
}