POST
/
api
/
v2
/
communication
/
send-email
import os
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key=os.environ.get("SAMPLEHC_API_KEY"),  # This is the default and can be omitted
)
response = client.v2.communication.send_email(
    body="body",
    subject="subject",
    to="to",
)
print(response)
{}

Body

application/json

Response

200
application/json

Indicates the email request was accepted and processed (or queued for processing).