# 透過 Hash 取得 Text-Call ID

## 概述

你可以透過此 API 將雜湊過的 **Text-call ID（交談識別碼）** 還原，並用於後續應用，例如發送訊息等操作。

* **取得方式**：雜湊過的 Text-call ID 可以透過**訊息範本**中的變數取得。
* **應用情境**：
  * 組合特殊網址並發送給顧客。
  * 顧客透過該網址完成驗證或相關操作。
  * 系統將 hash 解碼後，透過其他 API 進行整合，例如自動發送筆記訊息提醒專員。

此設計能讓流程自動化，並強化識別碼在跨系統間的追蹤與應用。

## API

<pre class="language-javascript"><code class="lang-javascript">curl -X GET
    -H "Content-Type: application/json"
<strong>    "https://{API_HOST}/api/v1/text-call/{hash}/hash-convert-to-id"
</strong></code></pre>

### Response

<table><thead><tr><th width="162.33333333333331">Property</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td>data</td><td>Object</td><td>{id: $id} 文字對話 id</td></tr></tbody></table>

### Http Request

`GET https://{API_HOST}/api/v1/text-call/{hash}/hash-convert-to-id`

### URL Parameters

| Parameter | Description |
| --------- | ----------- |
| hash      | 文字對話 hash 值 |


---

# 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.firstline.cc/developer/api/jin-jie/restore-text-call-id.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.
