https://console.tim.qq.com/v4/room_engine_http_srv/add_robot?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameter | Description |
v4/room_engine_http_srv/add_robot | Request API |
sdkappid | The SDKAppID assigned by the IM console when creating an application |
identifier | |
usersig | The signature generated by the App administrator account. For specific operations, see generate UserSig |
random | Enter a random 32-bit unsigned integer, value ranges from 0 to 4294967295 |
contenttype | The request format is fixed as json. |
{"RoomId": "room-test","Member_Account": "user1"}
Field | Type | Attribute | Description |
RoomId | String | Required | room ID |
Member_Account | String | Required | robot ID |
{"ErrorCode": 0,"ErrorInfo": "","ActionStatus": "OK","RequestId": "Id-52f049ba12d741b7a84959700acdb1d5-O-Seq-56287"}
Field | Type | Description |
ActionStatus | String | Request processing result. OK: processing successful; FAIL: processing failed. |
ErrorCode | Integer | Error code: 0 indicates success, non-0 indicates failure. |
ErrorInfo | String | Error Message |
RequestId | String | Unique request ID, returned for each request. To locate a problem, provide the RequestId of that request. |
Error Code | Description |
100001 | Internal server error, please retry. |
100002 | Invalid parameter. Check whether the request is correct according to the error description. |
100004 | The room does not exist, or may have existed but has been dismissed. |
100005 | non-room member |
100006 | Insufficient operation permissions |
100700 | The number of machines has reached the limit. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback