Get Personal Message List
POST
https://app.leiga.com/openapi/api/msg/list
Personal Message Module(msg)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.leiga.com/openapi/api/msg/list' \
--header 'accessToken: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"read": true,
"pageNumber": 1,
"pageSize": 10,
"category": [
"comment"
]
}'
Response Response Example
{
"code": "0",
"data": {
"total": 1,
"list": [
{
"receiverId": 1,
"triggerName": "xxx",
"createTime": 1646301600000,
"reminderReceiveId": 1,
"subject": "xxx",
"receiverName": "xxx",
"msgId": 1,
"action": "at",
"hasRead": 1,
"plainReceiverName": "xxx",
"content": "xxx"
}
]
}
}
Request
Header Params
Content-Type
string
required
Example:
application/json
accessToken
string
required
Example:
{{accessToken}}
Body Params application/json
Responses
Modified at 2024-06-12 06:46:49