- Config
- Auth
- Users
- Mail
- Cashflow
- WebSocket
- Datasrc
- Report
- Home
搜索最新邮件
GET
/api/mail/search
Mail
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
count
number
必需
text
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://s.hancel.org/api/mail/search?count&text'
返回响应
🟢200成功
application/json
Body
data
array [object {2}]
必需
id
integer
可选
headers
object
可选
code
integer
必需
message
string
必需
示例
{
"data": [
{
"id": 0,
"headers": {
"received": [
"string"
],
"x-qq-mid": "string",
"x-qq-xmailinfo": "string",
"x-qq-xmrinfo": "string",
"authentication-results": "string",
"date": "string",
"from": {
"value": [
{
"address": "string",
"name": "string"
}
],
"html": "string",
"text": "string"
},
"to": {
"value": [
{
"address": "string",
"name": "string"
}
],
"html": "string",
"text": "string"
},
"message-id": "string",
"subject": "string",
"mime-version": "string",
"content-type": {
"value": "string",
"params": {
"boundary": "string"
}
}
}
}
],
"code": 0,
"message": "string"
}
修改于 2024-08-02 15:09:20