# How to enable chatroom custom attributes (KV)?

Description

RC allows you to set custom key-value (KV) attributes in a specific chatroom. In a live voice streaming scenario, you can use this feature to record the attributes of each microphone position. In a card game like Mafia, you can use it to track user roles and game status.

Once the service is enabled, both the client and the server can set custom chatroom attributes.

RC can also sync all chatroom attribute changes (set, delete, delete all, etc.) in your app to a specified URL. This helps your business server stay informed about chatroom attribute changes.

Documentation

How to enable

Go to the Basic features page in the RC Console, make sure the correct app name and environment (Dev/Prod) are selected, and then enable the Chatroom custom attributes service.

If you want the RC server to sync attribute changes to your specified address, enter a callback URL and click Set to save.

If you have any questions, feel free to submit a ticket to us.