# Tạo ticket

## 1. Tạo ticket từ web

Ngoài Ticket được tự động tạo từ các nguồn, Agent có thể tạo Ticket thủ công trong giao diện phần mềm

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeenxi_Ut5vFSpRXaixodm388w748GUfwh8mdmTc3Q_LySeESXpe2Ea1gYUvojAWP9odsKHTUpiXCMjP-s-xRIT9kl_wxXb4MdHe2Es94Ev4kNFkAWKFQ9Ri5-bhAwfS9sVLtwWEUoovspK4SmTBC1JLU2O?key=U8KASYBGJQcVxE0UiQV9Og" alt=""><figcaption></figcaption></figure>

## 2. Tạo ticket qua API

Ngoài các nguồn như Thoại, Chat, Facebook, Email, SMS và Zalo, Ticket có thể được tạo từ API của bên thứ 3 tích hợp đẩy về hệ thống CareSoft. Để tích hợp, khách hàng có thể tham khảo [tài liệu API](https://docs.caresoft.vn/) của CareSoft và liên hệ với CareSoft để được hỗ trợ.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcrCtob6X0STx7DPfozWTmyfNFyT1A2OtpxDHcyzD1SOfAJN00dWLYZ5Ev6aGEv2-j0WHdzsZjXAbeDWo-DTuucKedsKISAJGLHVhzIm7HpR8zX3-uBegNAwWZnNxGBS8hKpB1Q0YcuwCYT0W493ug0PPmZ?key=U8KASYBGJQcVxE0UiQV9Og" alt=""><figcaption></figcaption></figure>

\- Tạo ticket qua API gọi từ Postman

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeSnh7L9I7kXfu3dCpR7wRVhB7IcbNMUhMAqK-qauoUw52Uuq2vJwgvgwrSKZnoOgJXGlz5m1waWjlYkYVHI-qR42GM_SOKy-znyN4JVCfC9xw5OHGY9Wzsg-3x-7AErFmq_8lxvavElwZ4DASgYH_-DGEA?key=U8KASYBGJQcVxE0UiQV9Og" alt=""><figcaption></figcaption></figure>

Hướng dẫn cấu hình gán token vào postman để thực hiện các tác vụ với API của Caresoft

1\. Chọn tab Authorization

2\. Trong type chọn "Bearer Token"

3\. Điền mã token vào ô token.&#x20;


---

# 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://doc.caresoft.vn/danh-sach-tinh-nang/tickets/tao-ticket.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.
