About sending new emails

Is there an API to create and send a new email?
I'm looking for a way to send completely new instead of replying.
If possible, please also provide an example of entry.

Hi @HikaruOgatu
You can use POST /api/v2/conversations/emails to create a new email conversation.

An example request body

{
  "queueId": "56f71def-29bd-4dfb-9d8c-a9411667f183",
  "flowId": "4da76f38-07c2-415e-8fd0-696fd4e584b2",
  "provider": "<your-email-provider>",
  "toAddress": "recipient@example.com",
  "toName": "John Doe",
  "fromAddress": "sender@example.com",
  "fromName": "Bob Smith",
  "subject": "<your-subject>",
  "direction": "OUTBOUND",
  "textBody": "<email-text-body-here>"
}

Thank you for your answer, I will try

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.