Files
mailpit/docs/apiv1
Ralph Slooten 615db61df3 Grammar changes
2023-10-24 00:35:00 +13:00
..
2023-07-12 17:30:03 +12:00
2023-10-24 00:35:00 +13:00
2023-07-12 17:30:03 +12:00
2022-11-13 17:26:29 +13: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 four main parts:

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