---
sourceType: official-guide
sourceTypeMatchedRule: fallback
slug: OA/noi-dung/noi-dung-dang-bai-viet/cap-nhat-noi-dung
title: Cập nhật nội dung
---
# Cập nhật nội dung

## HTTP request

- **URL**: [https://openapi.zalo.me/v2.0/article/update](https://openapi.zalo.me/v2.0/article/update)
- **Method**: POST
- **Content Type**: application/json
- **Reponse Type**: text/json

## Sample

```bash
curl \
 -X POST \
 -H "Content-Type: application/json" \
 -H "access_token: <ACCESS_TOKEN>" \
 -d '{
        "id": "a45424s214ddertd214g",
        "type": "normal",
    "title": "News",
        "author": "News",
        "cover": {
            "cover_type": "photo",
            "photo_url": "url",
            "status": "show"
        },
        "description": "This is news",
        "status": "show",
        "body": [
            {
                "type": "text",
                "content": "This is news"
            },
            {
                "type": "text",
                "content": "This is news"
            }
        ],
        "comment": "show"
}' \
 'https://openapi.zalo.me/v2.0/article/update'
```

### Tham số header


| Tham số | Kiểu dữ liệu | ính bắt buộc | Mô tả |
| --- | --- | --- | --- |
| [access_token](/docs/OA/bat-dau/xac-thuc-va-uy-quyen-cho-ung-dung-new) | String | Yes | Xem hướng dẫn lấy access_token ở [đây](/docs/OA/bat-dau/xac-thuc-va-uy-quyen-cho-ung-dung-new). |


### Cấu trúc body

Cấu trúc body là một nội dung dạng bài viết hoặc nội dung dạng bài viết gắn video

## Respond

```json
{
    "error": 0,
    "message": "Success",
    "data": {
        "token": "9xk090B1ANibkhyg9ke8SZgMg39Pz7bNJvJvKrpA821_XVbaI-Dr9ME5ma44nqGPOw3dKmR2SreHY_yaUiOcMrkWX0XknWH0IOQtEY_N1r9Ahu8xJT9QEIU9paOpwc0QDhhqSmU3So8WmlqcEvDEKb_euG5CbKHp9kJS432-35aKsOzSQva30L2cabKwcZqJNwkvQ63M7Mf7bQml9SK5BZJyZ4O8jmT16OwbFNdmA4iIdQPETiq8EtUkhM0AYMCHDkNmJWs9CLPkgFuBJ9Gm536kw1DQb34I9xF_4qE2BX4fk_uJIOKl6ZIYuH9LdpaMPAxi5mILRn5XgxmNLi8v56VywqLGnJaGDJ4mKWZXC0_G15"
    }
}
```
