| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 400 | 154000 | Bad request, please check your request body | 请求不合法,请检查参数 |
| 401 | 154001 | Unauthorized, please check you have the correct access | 检查Authorization 和 X-Lark-Helpdesk-Authorization 是否正确,应用和服务台属于同一租户 |
| 403 | 154003 | Please check you have the correct access | 检查是否申请正确权限 |
| 500 | 155000 | Internal error | 内部错误,请联系我们 |
| 401 | 154001 | Unauthorized, please check you have the correct access | 检查Authorization 和 X-Lark-Helpdesk-Authorization 是否正确,应用和服务台属于同一租户 |
curl --location --request GET '/helpdesk/v1/tickets//messages?time_start=&time_end=&page=&page_size=' \
--header 'Authorization: Bearer <token>'{
"code": 0,
"msg": "success",
"data": {
"messages": [
{
"id": "6948728206392295444",
"message_id": "6949088236610273307",
"message_type": "text",
"created_at": "1617960686000",
"content": "content",
"user_name": "李宁",
"avatar_url": "https://internal-api-lark-file.feishu-boe.cn/static-resource/v1/3e73cdce-54b0-4c6a-8226-b131fb2825dj~?image_size=72x72&cut_type=&quality=&format=image&sticker_format=.webp",
"user_id": "ou_37019b7c830210acd88fdce886e25c71"
}
],
"total": 100
}
}