Add message attachment
documentedAttach a file to a message slot (Base64-encoded payload must be provided in body).
POST /API/v1.1/Rest/ConsoleService.svc/Console/List/{id_List}/Email/{id_Message}/Attachment/{Slot}Email messagesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://services.mailup.com/API/v1.1/Rest/ConsoleService.svc/Console/List/{{$id_List}}/Email/{{$id_Message}}/Attachment/{{$Slot}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"FileName": "{{$filename}}", "ContentType": "{{$content_type}}", "Content": "{{$content_base64}}"}'