Mailboxes

Copy a message attachment

Copies one of a received message's attachments into the organization's media and returns it as a draft attachment (mediaId), so a draft can carry it. A draft that forwards a message saves each original attachment this way.

post/v1/mailboxes/{id}/messages/{messageId}/attachments/{attachmentId}/copy

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/mailboxes/{id}/messages/{messageId}/attachments/{attachmentId}/copy
  • Auth: API key in header x-api-key

Path parameters

idstring required
messageIdstring required
attachmentIdstring required

Response

MailboxCopiedAttachment

filenamestring required
contentstring nullable
mediaIdstring
contentTypestring required
sizeinteger required

Changes

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