Files
Upload File
Uploads selected file to the server. Required Access Level: ModifyFiles
post/files
Request
- Base URLhttps://api.elasticemail.com/v4
- URLhttps://api.elasticemail.com/v4/files
- AuthAPI key in header X-ElasticEmail-ApiKey
Query parameters
expiresAfterDaysinteger nullable
integer
After how many days should the file be deleted.
Request body
Example request
{
"Name": "attachment.txt"
}Response
Created
Example response
{
"FileName": "filename.txt",
"DateAdded": "2001-01-01T12:00:00",
"ContentType": "image/jpeg"
}Changes
No recorded changes to this operation across all 2 revisions of this API.