Skip to main content
POST
/
merchant
/
email
/
send_email_to_user
Send Email To User
curl --request POST \
  --url https://api.unibee.dev/merchant/email/send_email_to_user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "attachInvoiceId": "<string>",
  "content": "<string>",
  "email": "<string>",
  "gatewayTemplateId": "<string>",
  "subject": "<string>",
  "variables": {}
}'
{
  "code": 123,
  "data": {},
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string<string>
required

Email

attachInvoiceId
string<string>

AttachInvoiceId

content
string<string>
gatewayTemplateId
string<string>

GatewayTemplateId

subject
string<string>
variables
object

Variables,Map

Response

200 - application/json
code
integer
data
object
message
string<string>
redirect
string<string>
requestId
string<string>