Stormkit Logo
Stormkit Logo
+ K
docsblogwhats new?pricingGitHubLinkedInDiscordDiscordlogin
Welcome
Getting StartedSelf HostingContributingContact Us
Api
AuthenticationDomainsMailerRedirectsSnippets

Mailer API

POST /v1/mail

Requirements:

  • Make sure the mailer is configured for your environment.
  • Make sure you have generated an Environment-level API Key.

Send an email.

interface Request {
  to: string
  from: string
  subject: string
  body: string
}

interface Response {
  ok: boolean
}
# Example

curl -X POST \
     -H 'Authorization: <api_key>' \
     -H 'Content-Type: application/javascript' \
     'https://api.stormkit.io/v1/mail' \
     -d '{ "to": "joe@example.org", "from": "Jane Doe <jane@example.org>", "subject": "Hello Joe", "body": "Hi,<br/>How are you?" }'
Stormkit Logo

2024 Stormkit, Inc. ©

company
PricingPrivacy policyTerms