API Overview
Message Callbacks
Status Codes
Overview
Queries all custom attributes in a chatroom.
Request
Authentication: Add authentication headers to the request. See Authentication.
Method:
GET
Rate limit:
100 requests/second
Endpoint: https://API domain/apigateway/chatrooms/atts/list
Content-Type:
application/json
Request Parameters
| Parameter | Data Type | Required | Description | |
|---|---|---|---|---|
| chat_id | string | Yes | Chatroom ID. Maximum length: 32 characters. |
Request Example
GET /apigateway/chatrooms/atts/list?chat_id=xxx HTTP/1.1
appkey: appkey
signature: 2e639ae3600a4sdff61fb88b76f485b
nonce: nonce
timestamp: 1672568121910
Content-Type: application/json
Response Example
{
"code":0,
"msg":"sucess",
"data":{
"chat_id":"chatroom1",
"atts":[
{
"key":"k1",
"value":"v1",
"user_id":"userid1",
"att_time":1732123445223
}
]
}
}