Kingsoft OfficeWPS 365 enterprise collaboration open API
POST/v7/mailboxes/{mailbox_id}/folders/{folder_id}/messages/import
Create or run import resource
Create or run import resource via POST /v7/mailboxes/{mailbox_id}/folders/{folder_id}/messages/import.
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
mailboxesfoldersMessagesImport- 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
Request body
Properties: content
Responses
200
import_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"
}
}
}