Send a reply from a connected mailbox
Deprecated
Sends an e-mail from one of your connected providers. At least one of providerId or senderEmail is required to pick the mailbox. With messageId (from the merged inbox) the message is threaded (In-Reply-To, References, quoted history appended); without it you must supply to and subject yourself. content is HTML (use for line breaks). scheduledAt (ISO) schedules the send instead of sending now. New integrations should use the multichannel /advanced campaign endpoints instead.
Authorization
apiKey Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/emails/reply" \ -H "Authorization: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "providerId": "5f3a1b2c4d5e6f0011223344", "to": [ "jane.roe@acme.com" ], "subject": "Re: your question", "content": "Hello Jane,<br><br>Thanks for your reply." }'{ "success": true}GETGet a sent message
Rebuilds the content sent for a SENT, MESSAGE_SENT, INMAIL_SENT, INVITED or WHATSAPP_MESSAGE_SENT activity by replaying the step template against the contact.
Blacklist
Add an email address, a whole domain or a LinkedIn profile to the Emelia blacklist by API, so that no campaign of your account ever contacts them.