/api/2.0/campaigns/email/{PK}/lists/
PUT https://developer.salesfusion.com/api/2.0/campaigns/email/{PK}/lists/?archive=0
Description:
Adds a list to a campaign for inclusion or exclusion. The following value must be appended to the endpoint URL:
?archive=0
PK → Campaign_ID
Sample Response:
{
"id": 7266
}
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
archive | number |
Request Body
{"type"=>"D", "name"=>"Opt out list", "action"=>"Exclude"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |