https://xxxxxx/v4/timpush/get_tag?usersig=xxx&identifier=admin&sdkappid=88888888&random=99999999&contenttype=json
Parameter | Description |
https | The request protocol is: HTTPS Request method: POST |
xxxxxx | The dedicated domain corresponding to the country/region of your SDKAppID. China: console.tim.qq.comSingapore : adminapisgp.im.qcloud.comSeoul : adminapikr.im.qcloud.comFrankfurt : adminapiger.im.qcloud.comSilicon Valley : adminapiusa.im.qcloud.comJakarta: adminapiidn.im.qcloud.com |
v4/timpush/get_tag | Request API |
usersig | |
identifier | |
sdkappid | SdkAppid assigned by the Instant Messaging Console when an application is created |
random | A random 32-bit unsigned integer ranging from 0 to 4294967295 |
contenttype | Fixed value: json |
{"To_Account": ["xiaoming","xiaohong","Mary"]}
Field | Type | Attribute | Description |
To_Account | Array | Required | Target user account list, support UserID or RegistrationID. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"UserTags": [{"To_Account": "xiaoming","Tags": ["GoldMember", "WeekPassUser"]},{"To_Account": "xiaohong","Tags": ["PlatinumMember", "MonthPassUser"]}],"ErrorList": [{"ErrorCode": 70107,"To_Account": "Mary"}]}
Field | Type | Description |
ActionStatus | String | Processed Request Result: OK: Indicates successful processing FAIL: Indicates failure |
ErrorCode | Integer | Error code |
ErrorInfo | String | Error message |
UserTags | Object Array | User Tag Content List |
ErrorList | Object Array | Set attributes. Some users may succeed while others may fail. Error message list for failed accounts. |
Field | Type | Description |
To_Account | String | Target user account: UserID or RegistrationID. |
Tags | Array | Tag array. The maximum length of a single tag should not exceed 50 bytes. Each tag is a string type. |
Field | Type | Description |
To_Account | String | Target user account: UserID or RegistrationID. |
ErrorCode | Integer | Error code |
ErrorInfo | String | Error description, which may be empty. |
Error code | Description |
90001 | Failed to parse the JSON format. Please ensure the request packet conforms to the JSON specification. |
90009 | The request requires App Administrator permissions. |
90018 | The number of requested accounts exceeds the limit. |
91000 | Internal service error, please try again. |
Feedback