Send email
Send email through API
POST
https://api.mailhub.sh/v1/send
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Required
Comment
from
string
Yes
to
string | string[]
Yes
subject
string
Yes
bcc
string[]
No
cc
string[]
No
reply_to
string[]
No
layout_identifier
string
Yes/No
Layout or page identifier
Eg. tp-xxxxxx
Can't be used with code
parameter
code
string
Yes/No
HTML Code you want to send
Can't be used with layout_identifier
parameter
text
string
No
tags
object[]
No
attachments
object[]
No
Example
Last updated