Kingsoft OfficeWPS 365 enterprise collaboration open API
GET/v7/mail_messages/search
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
mailMessageSearch- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
mailbox_ids
querystringrequired
Mailbox ids.
example content
start_time
queryintegerint64
Start time (RFC3339).
1
end_time
queryintegerint64
End time (RFC3339).
2
folders
querystring
Folders.
example content
exclude_folder_names
querystring
Exclude folder names.
example content
filter
querysearch_filter
Filter conditions.
has_attachment
queryboolean
Has attachment.
true
category_id
querystring
Category id.
example-id-0123456789
from
querystring
From.
example content
to
querystring
To.
example content
subject
querystring
Subject.
example content
body
querystring
Body.
example content
attachment
querystring
Attachment.
example content
keyword
querystring
Search keyword.
example-keyword
page_size
queryintegerint64
Number of results per page.
1
page_token
querystring
Pagination start token; opaque and passed back verbatim.
example-page-token
priority
querystring
Priority.
example content
Responses
200
advance_search_mail_messages_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"items": {
"bcc_recipient": {},
"body_preview": "example content",
"cc_recipient": {},
"ctime": 1,
"folder_id": "example-id-0123456789",
"from": {},
"has_attachments": true,
"importance_flag": 1
},
"next_page_token": "example-page-token"
}
}