curl --request GET \
--url https://api.easierprop.com/api/accounts/{id}/mails/{message_id} \
--header 'X-API-Key: <api-key>'{
"ok": true,
"data": {
"id": 1234567890,
"subject": "Account Notice",
"from": "support@broker.com",
"body": "Dear trader, your account has been...",
"received": "2023-11-07T05:31:56Z"
}
}Fetch the full text body of a broker mail message.
The gateway sends a SendMailRequest (protocol type 104) to the MT5
server and waits up to 3 seconds for the asynchronous response on the
broadcast channel. Returns 504 if the broker does not respond within
the deadline.
Use the id field from the /mails list to identify messages.
curl --request GET \
--url https://api.easierprop.com/api/accounts/{id}/mails/{message_id} \
--header 'X-API-Key: <api-key>'{
"ok": true,
"data": {
"id": 1234567890,
"subject": "Account Notice",
"from": "support@broker.com",
"body": "Dear trader, your account has been...",
"received": "2023-11-07T05:31:56Z"
}
}