Chuyển tới nội dung chính

Lấy chi tiết của nội dung dạng bài viết

HTTP request

Sample

https://openapi.zalo.me/v2.0/article/getdetail?id=<ARTICLE_ID>

Tham số header

Tham số

Kiểu dữ liệu

Tính bắt buộc

Mô tả

access_token

String

Yes

Xem hướng dẫn lấy access_token ở đây.

Tham số

Tham số

Kiểu dữ liệu

Tính bắt buộc

Mô tả

id

String

Yes

Id của bài viết muốn lấy thông tin chi tiết

Respond for type is ‘normal’

{
"error": 0,
"message": "Success",
"data": {
"id": "39c07ccbe78e0ed0579f",
"type": "normal",
"title": "Title",
"author": "",
"cover": {
"cover_type": "photo",
"photo_url": "https://zalo-article-photo.zadn.vn/7ad578505104b85ae115#286621339",
"status": "show"
},
"description": "Aaaaa",
"status": "show",
"body": [
{
"type": "text",
"content": "Content"
}
],
"related_medias": [],
"comment": "show",
"cite": {
"url": "",
"lablel": ""
}
}
}

Respond for type is ‘video’

{
"error": 0,
"message": "Success",
"data": {
"status_message": "Video is successfully uploaded",
"video_name": "Android.mp4",
"video_size": 2979281,
"convert_percent": 100,
"convert_error_code": 0,
"video_id": "f9377bde4e9ba7c5fe8",
"status": 1
}
}