Skip to main content

Read Inbox

Reading the inbox of certain mailbox is easy as calling the /read/:token endpoint.

curl https://mailloop.org/read/757800ad-b710-49f1-885a-18be45880942

Results to:

{
"retcode": 200,
"mailbox": {
"expiration": 1650061218322,
"email": "plain.scene@mailloop.org",
"fromdomain": "newproject.com"
},
"inbox": []
}

As you see in this example inbox has no emails, but a retcode of 200 indicates that you could authenticate successfully. You can use gentle polling to wait for incoming emails. We recommend giving few seconds in order to hit this endpoint after sending the email.