Engineering

Messages API basics: latest, list, and filters

Messages API basics: latest, list, and filters

The Messages API is designed for automation. It gives you predictable access to inbound email without scraping an inbox UI.

#Core endpoints

EndpointDescription
GET /v1/messages/latestFetch the newest message for a mailbox + tag
GET /v1/messagesList messages with filters
GET /v1/messages/:idFetch a specific message by id

#Example: latest message

curl "https://api.plop.email/v1/messages/latest?mailbox=qa&tag=signup"

#Example: list with filters

curl "https://api.plop.email/v1/messages?mailbox=qa&tag=signup&limit=10"
  • Use latest for E2E tests and health checks.
  • Use lists for dashboards or workflow automation.
  • Store message ids in your workflow logs for traceability.

If you need a new filter or payload field, tell us. We design this API around real workflows, not theoretical mail clients.

Alex Vakhitov
Alex VakhitovFounder & CEO, Plop