> For the complete documentation index, see [llms.txt](https://en.help.firstline.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://en.help.firstline.cc/developer/api/advanced/restore-text-call-id.md).

# Get Text-Call ID via hash

## Overview

You can use this API to restore the hashed **Text-call ID (conversation identifier)** and use it for subsequent actions, such as sending messages.

* **How to obtain**: The hashed Text-call ID can be obtained through**message templates**variables.
* **Use case**:
  * Compose a special URL and send it to the customer.
  * The customer completes verification or related actions through that URL.
  * After the system decodes the hash, it integrates with other APIs, for example automatically sending note reminders to agents.

This design enables process automation and strengthens tracking and use of the identifier across systems.

## 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} text conversation 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      | text conversation hash value |
