API to upload the template HTML content.
Was this helpful?
plainHtml
liquidHtml
curl -L \ --request POST \ --url '/workspaces/{workspaceId}/projects/{projectId}/html-emails/{templateId}/content/{locale}/presigned-upload' \ --header 'Content-Type: application/json' \ --data '{ "htmlType": "plainHtml" }'
{ "uploadFormData": {}, "uploadMethod": "text", "uploadUrl": "https://example.com" }