Kingsoft OfficeWPS 365 enterprise collaboration open API
GET/v7/chats/get_p2p_chat
Get chats resource
Get the chats 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
imP2pChatGet- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
user_id
querystringrequired
User ID.
example-id-0123456789
X-Kso-Id-Type
headerid_type
Responses
200
get_chat_by_userid_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"ctime": 1,
"ext_attrs": {
"name": "Example title",
"value": "example content"
},
"group_ext_attrs": {
"avatar": {},
"dept_id": "example-id-0123456789",
"owner_id": "example-id-0123456789",
"settings": {}
},
"id": "example-id-0123456789",
"name": "Example title",
"status": "active",
"type": "p2p"
}
}