1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-01-22 03:39:59 +02:00

API v1

Mailpit provides a simple REST API to access and delete stored messages.

If the Mailpit server is set to use Basic Authentication, then API requests must use Basic Authentication too.

You can view the Swagger API documentation directly within Mailpit by going to http://0.0.0.0:8025/api/v1/.

The API is split into three main parts:

  • Messages - Listing, deleting & marking messages as read/unread.
  • Message - Return message data & attachments
  • Tags - Set message tags
  • Search - Searching messages