# Lưu data về API

**Bước 1:** Mở trang bạn muốn lưu data về Gmail. Click trực tiếp vào phần tử Form thông tin để mở **Bảng cài đặt -> Lưu dữ liệu.**

<figure><img src="/files/yWFqbP5zFFrDdnlvQwde" alt=""><figcaption></figcaption></figure>

**Bước 2:** Bấm vào **Thêm kết nối (0/3) -> API** và bấm vào Sửa cấu hình.

<figure><img src="/files/S1U4BR5WQibyxG0D4Bxr" alt=""><figcaption></figcaption></figure>

**Bước 3:** Cấu hình API

<figure><img src="/files/SUiLVca74pS0xzFUR6ZI" alt=""><figcaption></figcaption></figure>

**Header:** Bạn có thể cấu hình Content Type trong trường hợp cần chỉ định rõ kiểu dữ liệu muốn gửi và Authorization (Token, Api Key) nếu như bạn cần xác thực dữ liệu gửi đến.

**API URL :** Là đường dẫn url API mà bạn sẽ ghi nhận dữ liệu từ Tempi

**JSON:** Là trường có thể tùy chỉnh theo định dạng JSON (chỉ cấu hình cho phương thức POST và PATCH)

**URL Encoded:** Dữ liệu được mã hoá trước khi gửi (chỉ cấu hình cho phương thức POST và PATCH)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.tempi.vn/phan-t-nang-cao/form-thong-tin/luu-data-ve-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
