Skip to Content
Omnibase

Send a raw HTML email

POST
/api/v1/email/send/html

Authorization

headerX-Session-Token<token>

Kratos session JWT token. Alternative to cookie authentication for non-browser clients.

Request Body

application/json
  1. body
body*string
plain?string
subject*string
to*string

Response Body

OK

application/json
  1. response
message*string
Example Request
curl -X POST 'https://api.omnibase.tech/api/v1/email/send/html' \  -H 'Content-Type: application/json' \  -d '{  "body": "<h1>Hello</h1>",  "subject": "Welcome",  "to": "user@example.com"}'
Example Response
{  "message": "string"}