Was this helpful?
Upload a mail template file
HTML mail template file to upload
Whether to overwrite the existing file
false
POST /api/v1/upload_mail_templates/ HTTP/1.1 Host: Authorization: YOUR_API_KEY Content-Type: multipart/form-data Accept: */* Content-Length: 35 { "file": "binary", "overwrite": false }
Mail template uploaded successfully
{ "is_success": true, "file_url": "https://example.com/mail_templates/welcome.html", "message": "The mail_template is uploaded successfully." }