MT
MailtestAPIInbound email docs

Update email

Update email state such as status, labels, notes, or subject.

Update email state such as status, labels, notes, or subject.

PATCH/v1/emails/{emailId}Auth required

Update an email

Updates mutable metadata for a captured email.

Parameters

emailIdpathrequired

string · MailtestAPI email identifier.

Request body

UpdateEmailRequestapplication/jsonrequired

Responses

200EmailResponse

Email updated successfully.

400ValidationErrorResponse

The route parameters or request body did not pass validation.

401ErrorResponse

The API key is missing or invalid.

404ErrorResponse

The requested email was not found.