Mailboxes

Complete a multipart import upload

Complete the prepared multipart upload with every part number and the ETag returned by that part's PUT response. Shipmail verifies that the stored object matches the declared file size before staging it for import.

post/mailboxes/{id}/imports/files/{file_id}/complete

Request

  • Base URL: https://shipmail.to/api/v1
  • URL: https://shipmail.to/api/v1/mailboxes/{id}/imports/files/{file_id}/complete
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://shipmail.to/api/auth/oauth2/authorize, token URL https://shipmail.to/api/auth/oauth2/token)

Path parameters

idstring required

Mailbox ID.

file_idstring required

Import file ID.

Headers

X-Shipmail-Organizationstring

OAuth access tokens only. The organization ID this request acts on. Required when the OAuth connection was approved for several organizations (400 validation_error without it); optional with one. An organization the connection was not approved for returns 403 authorization_error. Ignored for API keys, which belong to one organization.

Request body

Response

Upload completed and staged for import.

Changes

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