To use the Chat API, you need the following items:
Hive certification key: An authentication token for API calls
Can be found at Hive Console > App Center > Project management > Game details > Basic information
Game index: The index of the game created in Hive Console > App Center > Project management
Warning
The Hive certification key is sensitive security information and must never be exposed externally. For security, avoid including it directly in your source code. If you need to implement features in the client environment, please use the Hive SDK.
All Chat APIs operate in a server-to-server communication manner. If you call the API directly from the game client, there is a risk of authentication token leakage and unexpected issues, so please use with caution.