Sending email via API
The basics
The API accepts a POST request at the endpoint
https://api.cowhouse.io/v1/email-service/send
. The API only requires the request body and API authentication.
API request body
API field
Value
subject
The subject of the email you want to send
text
The text version of your email. This field is optional
html
The HTML version of the email you want to send
from
The sending email address
to
The email recipient
API authentication:
The API accepts basic authentication with a username and password
Field
Value
username
smtpuser
password
Generate an API key for each domain via the "SMTP settings" page.
To find your password, locate the SMTP settings page.
Last updated
Was this helpful?