/Mail/attachment POST
Overview
Upload an email attachment
Query String Parameters
This endpoint does not accept any query string parameters.
Name |
Type |
Description |
Required |
email_attachment
|
String
|
The file to upload.
|
True
|
{"email_attachment":"@\/path\/to\/ExampleDocument.txt"}
Result
Name |
Type |
Description |
<email record field>
|
<email record field type>
|
Returns the fields for the newly created email record.
|
Output Example
{
"guid": "61b19f41-0ac9-0f2f-d9c5-51eecaf89396",
"name": "ExampleDocument.txt",
"nameForDisplay": "ExampleDocument.txt"
}
Change Log
Version |
Change |
v11
|
Last version in which /Mail/attachment POST is available. Use
/Notes/temp/file/filename POST in conjunction with
/Emails/:record/link/attachments POST instead.
|
v10
|
Added /Mail/attachment POST endpoint.
|