Move Contact to Contact Group
Use the AddCDPListMember API to move contacts to a contact group.
Request Parameters
Parameter | Type | Description | Required |
---|---|---|---|
Action | string | Value: AddCDPListMember. | Yes |
ListId | int | ID of the contact group. | Yes |
ContactIds | array | An array of integers, where each item is the ID of a contact. | Yes |
Response Elements
Parameter | Type | Description | Required |
---|---|---|---|
RetCode | int | When RetCode is not 0, Message displays a specific error description. If RetCode is 0, Message is not returned. | Yes |
Action | string | Name of the operation. | Yes |
Message | string | When RetCode is not 0, Message displays a specific error description. | Yes |
请求示例
curl --request POST 'https://api.uspeedo.com/api' \
--header 'Content-Type: application/json' \
-d '{
"Action": "AddCDPListMember",
"ListId": 1,
"ContactIds": [1]
}'
返回示例
{
"Action": "AddCDPListMemberResponse",
"Message": "",
"RetCode": 0
}