Messages

Upload bytes through a prepared URL

Upload the exact raw bytes declared by a prepared upload. This endpoint uses the signed URL instead of API-key authentication, accepts no source URL, and returns no redirect. The token is consumed after one successful upload.

post/staged-attachment-uploads/{token}

Request

  • Base URL: https://shipmail.to/api/v1
  • URL: https://shipmail.to/api/v1/staged-attachment-uploads/{token}
  • Auth: none required

Response

Attachment staged and upload token consumed.

object'staged_attachment' required
idstring required
mailbox_idstring required
filenamestring required
content_typestring required
sizeinteger required
sha256string required
expires_atstring date-time required

Changes

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