AttachmentController

Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment.

post/attachments/multipart

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/attachments/multipart
  • Auth: API key in header x-api-key

Query parameters

contentIdstring

Optional content ID of attachment

contentTypestring

Optional content type of attachment

filenamestring

Optional name of file

contentTypeHeaderstring

Optional content type header of attachment

x-filenamestring

Optional filename header of attachment

x-filename-rawstring

Optional raw filename header of attachment that will be converted to punycode

x-filesizeinteger

Optional content size of attachment

Request body

filestring binary required

Response

Created

Changes

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