curl --request POST \
--url https://api.unibee.dev/merchant/email/send_template_email_to_user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"templateName": "<string>",
"userId": 123,
"attachInvoiceId": "<string>",
"variables": {}
}
'{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}curl --request POST \
--url https://api.unibee.dev/merchant/email/send_template_email_to_user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"templateName": "<string>",
"userId": 123,
"attachInvoiceId": "<string>",
"variables": {}
}
'{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.