mailpit unofficial
PUT/api/v1/tags

Set message tags

This will overwrite any existing tags for selected message database IDs. To remove all tags from a message, pass an empty tags array.

2 body fields
IDsarray<string>required
Array of message database IDs
Tagsarray<string>required
Array of tag names to set

2 status codes
200Plain text "ok" response
400Server error will return with a 400 status code with the error message in the body

Error handling

A 400 is returned: Server error will return with a 400 status code with the error message in the body.