View the Records of Sent Emails
Request URL: http://{url}/platform/api/v1/mail/list?project_id=&project_id Request Method:
GET Parameters:
project_id: Integer, the ID of the sender's project
Request Example:
Request URL: http://{url}/platform/api/v1/mail/list?project_id=10010
Request Method: GET
Headers:
- client_id: 10425
- client_secret: xxxxxxxxxxxx
- Content-Type: application/json
Successful Response:
{
"code": 1,
"data": {
"list": [
{
"id": 1, // Email ID
"read_data": { // Read statistics
"percent": "50.00%", // Read percentage
"read_count": 1, // Number of reads
"total": 2 // Total sent
},
"create_at": "2022-08-03 07:59:08", // Creation time
"sender": "xxxx", // Sender's NFT domain
"recv_group": "xxx", // Recipient's group
"receivers": ["xxx", ...], // List of recipients
"subject": "xxxx", // Email subject
"type": 1 // 1 represents email type
},
{...}
]
},
"msg": "Process success",
"success": true
}
Error Response:
{
"code": 0,
"data": {},
"msg": "Process failed",
"success": false
}
Last updated