Kingsoft OfficeWPS 365 enterprise collaboration open API
GET/v7/mailboxes/{mailbox_id}/folders/{folder_id}/messages/{message_id}
Get mail resource
Get the mail resource.
Manage contacts and organization, cloud documents, DBSheet/smart sheets, messaging, meetings, calendars, mail, todo, approvals, and event subscriptions through the official WPS 365 OpenAPI (v7); the official machine contract is the OpenAPI 3.0.0 published on open.wps.cn (827 endpoints / 3,119 schemas). Enterprise data is private business data; Pontx does not proxy, cache, or aggregate it and callers use the local SDK/CLI directly.
Request
- operationId
mailMessageGet- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
mailbox_id
pathstringrequired
Mailbox id.
example-id-0123456789
folder_id
pathstringrequired
Folder id.
example-id-0123456789
message_id
pathstringrequired
Message ID.
example-id-0123456789
with_ocr_body
queryboolean
With ocr body.
true
with_importance_flag
queryboolean
With importance flag.
true
Responses
200
get_mail_message_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"attachments": {
"filename": "example content",
"mime_type": "example content",
"part_id": "example-id-0123456789",
"size": 1
},
"bcc_recipient": {
"avatar": "https://example.com",
"email_address": "example content",
"name": "Example title"
},
"body": "example content",
"body_version": "v1",
"cc_recipient": {
"avatar": "https://example.com",
"email_address": "example content",
"name": "Example title"
},
"ctime": 1,
"folder_id": "example-id-0123456789",
"from": {
"avatar": "https://example.com",
"email_address": "example content",
"name": "Example title"
}
}
}