Skip to main content

Move Contact to Contact Group

Use the AddCDPListMember API to move contacts to a contact group.

Request Parameters

ParameterTypeDescriptionRequired
ActionstringValue: AddCDPListMember.Yes
ListIdintID of the contact group.Yes
ContactIdsarrayAn array of integers, where each item is the ID of a contact.Yes

Response Elements

ParameterTypeDescriptionRequired
RetCodeintWhen RetCode is not 0, Message displays a specific error description. If RetCode is 0, Message is not returned.Yes
ActionstringName of the operation.Yes
MessagestringWhen 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
}