- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
聊天历史记录
POST
/v1/chat/history
ChatAPI
请求参数
Header 参数
Client-Id
string
用户识别号。
示例值:
{{Client-Id}}
Api-Key
string
API-密钥。
示例值:
{{Api-Key}}
Body 参数application/json
chat_id
string
聊天识别码。
from_message_id
string <uint64>
可选
limit
integer <int64>
答复信息的数量。
示例
{
"chat_id": "99feb3fc-a474-469f-95d5-268b470cc607",
"from_message_id": 0,
"limit": 1000
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-seller.ozon.ru/v1/chat/history' \
--header 'Client-Id: ' \
--header 'Api-Key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"chat_id": "99feb3fc-a474-469f-95d5-268b470cc607",
"from_message_id": 0,
"limit": 1000
}'
返回响应
🟢200聊天历史记录
application/json
Body
结果。
result
array[object (object) {7}]