Install the client
Install the npm client and send emails with an API key.
1. Install the package
2. Configure the client
Configure the client with the base URL and your API key. The API key is sent in
the x-api-key header.
A private API key belongs on the server only. Only a key created as public may be used in the frontend. See API Keys.
3. Send an email
applicationId, templateUUID and to are required. data holds the template
variables as a JSON string. Optional: body (inline content) and file
(attachment). See Email parameters.