Skip to main content

Send an Email

POST 

/email-svc/email

Send an email with attachments.

Request

Body

required

Send Email Request

    attachments

    object[]

    List of file attachments (optional)

  • Array [

  • content stringrequired

    Base64-encoded content of the file

    contentType stringrequired

    MIME type of the file (e.g., "application/pdf")

    filename stringrequired

    Name of the attached file

  • ]

  • bcc string[]

    List of BCC recipient email addresses (optional)

    body stringrequired

    Email body content (plain text or HTML)

    cc string[]

    List of CC recipient email addresses (optional)

    contentType stringrequired

    Content type: "text/plain" or "text/html"

    createdAt stringrequired

    Timestamp of email creation

    id string

    Unique identifier

    subject stringrequired

    Email subject line

    to string[]required

    List of recipient email addresses

Responses

Successfully sent the email

Schema

    emailId string

    Unique identifier for the sent email

    status string

    Status of the email send operation ("sent", "queued", etc.)

Loading...