56 lines
1.4 KiB
JSON

{
"paths": {
"/email/": {
"post": {
"deprecated": false,
"description": "Send an email using the provider defined through the dashboard",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"from": {
"type": "string",
"format": "email"
},
"to": {
"type": "string",
"format": "email",
"example": "user@example.com"
},
"reply_to": {
"type": "string",
"format": "email"
},
"subject": {
"type": "string",
"example": "Lorem ipsum title"
},
"text": {
"type": "string",
"example": "Lorem ipsum"
},
"html": {
"type": "string",
"format": "html",
"example": "<h1>Lorem ipsum</h1>"
}
}
}
}
}
},
"summary": "",
"tags": [
"Email"
]
}
}
},
"tags": [
{
"name": "Email"
}
]
}