# Create an OAuth Client & Permanent Token

**URL:** <https://group.3chat.ai/t/create-an-oauth-client-permanent-token/50>\
**Category:** Product Q&A\
**Created:** [January 27, 2026, 3:12am UTC](https://group.3chat.ai/t/create-an-oauth-client-permanent-token/50 "2026-01-27T03:12:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![3Chat](https://avatars.discourse-cdn.com/v4/letter/3/cdc98d/32.png) [@3Chat](https://group.3chat.ai/u/3Chat)\
**Post date:** [January 27, 2026, 3:12am UTC](https://group.3chat.ai/t/create-an-oauth-client-permanent-token/50/1 "2026-01-27T03:12:50Z")

</div>

Below is the English translation of your community doc (structure and wording kept consistent, with light polishing for clarity).

* * *

# 3Chat.AI Open Platform Guide | Create an OAuth Client & Permanent Token

* * *

## 1. Overview

By creating an **OAuth Client** in the Open Platform and generating a **Permanent Token** , you can call various APIs under:  
`https://c2.xinheyun.com/api`

* * *

## 2. Create an OAuth Client

1. Go to **Open Platform → OAuth Clients → Create**

2. Fill in the required information and save.

* * *

## 3. Create a Permanent Token

1. After creation, the system will automatically redirect you to the client details page.

2. Click **Create Permanent Token** to generate a token, and **store the token value securely**.

> **Note:** Keep the token safe and use it only in a secure environment. If it is leaked, revoke it immediately and generate a new one.

* * *

## 4. How to Use the Token

The generated token can be used as an access credential to call APIs under Open Platform → 3Chat Api Doc

* * *

## 5. Security Recommendations

- **Principle of least privilege** : Grant only the permissions required to access the necessary APIs.

- **Secure storage** : Do not expose the token in frontend code. Store it in backend configuration or a secrets management service.

- **Regular rotation** : Rotate the token periodically to ensure account and data security.

* * *
