Create an upload
Request a pre-signed URL to upload an image asset.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Response
Pre-signed upload URL created.
The ID of the created asset. Pass this as emailAssetId to POST /v1/uploads/{emailAssetId}/complete once the file has been uploaded.
"cla3s5s7e9t1i3d5f7g9h1j3"
The pre-signed URL to upload the file to with an HTTP PUT request. Send the same Content-Type and Content-Length used in the create request.
"https://loops-assets.s3.amazonaws.com/uploads/cla3s5s7e9t1i3d5f7g9h1j3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=..."
Related topics
API IntroductionCampaigns API examplesTransactional email API examplesUploadsComplete an upload
