EmailController

Get email content part by content type

Extracts one MIME body part by contentType and optional index, returned in a structured DTO with metadata.

get/emails/{emailId}/contentPart

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/emails/{emailId}/contentPart
  • Auth: API key in header x-api-key

Path parameters

emailIdstring uuid required

ID of email to match against

Query parameters

contentTypestring required

Content type

strictboolean

Strict content type match

indexinteger

Index of content type part if multiple

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.