cURL
curl --request POST \ --url http://localhost:3001/api/v1/mail/{id}/reply \ --header 'Content-Type: application/json' \ --cookie nut-session= \ --data ' { "content": "<string>" } '
{ "success": true, "data": { "message": { "id": "<string>", "emailId": "<string>", "from": "Acme <hello@acme.com>", "to": [ "<string>" ], "subject": "<string>", "folder": "inbox", "cc": [ "<string>" ], "bcc": [ "<string>" ], "messageId": "<string>", "attachments": [ { "id": "<string>", "filename": "<string>", "contentType": "<string>", "contentDisposition": "<string>", "contentId": "<string>" } ], "receivedAt": "2023-11-07T05:31:56Z", "content": "<string>" } } }
Reply to an email (stores reply in sent folder)
Session cookie authentication
Email ID to reply to
Reply message content
Reply sent
Show child attributes