Отправить
Отправка email сообщения
POST
https://do.myfreshcloud.com/mail/ send
Request Body
Name
Type
Description
mail*
String
JSON
{
"status": "success",
"error": null,
"code": "0",
"rows": 1,
"pages": 1,
"page": 1,
"value": ""
}
JSON
{
"mail" : {
"account_id" : "4",
"to_address" : "[email protected]",
"subject" : "SGFwcHkh",
"body" : "SGVsbG8h"
}
}
Пример
url --location --request POST 'https://do.myfreshcloud.com/mail/send' \
--header 'Authorization: Bearer XXXXXX.XXXXXXXX.XXXXXXX' \
--header 'Content-Type: application/json' \
--data-raw '{
"mail" : {
"account_id" : "4",
"to_address" : "[email protected]",
"subject" : "SGFwcHkh",
"body" : "SGVsbG8h"
}
}'
Ответ
{
"status": "success",
"error": null,
"code": "0",
"rows": 1,
"pages": 1,
"page": 1,
"value": ""
}
Last updated
Was this helpful?