Presigned upload

API to upload the template HTML content.

Returns a presigned URL to upload the template HTML content.

post
Path parameters
workspaceIdstringRequired
projectIdstringRequired
templateIdstringRequired
localestringRequired
Body
htmlTypestring · enumOptionalDeprecatedPossible values:
Responses
200
OK
application/json
post
POST /workspaces/{workspaceId}/projects/{projectId}/html-emails/{templateId}/content/{locale}/presigned-upload HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "uploadFormData": {},
  "uploadMethod": "text",
  "uploadUrl": "https://example.com"
}

Was this helpful?