Skip to main content
GET
/
api
/
accounts
/
{id}
/
mails
/
{message_id}
Mail body
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"
  }
}

Authorizations

X-API-Key
string
header
required

Client API key (prefixed with sk_)

Path Parameters

id
string<uuid>
required

Account ID

message_id
integer<int64>
required

Message ID as returned by the /mails list endpoint

Response

Mail body

ok
boolean
Example:

true

data
object