APIs & Integrations

BambooBox
Member

Does any API give information about list and campaign association?

Hi,

 

We are trying to add contacts to a campaign via API. While we have access to the "Add contacts to list" API, we are not able to figure out which list the campaign is associated to? Is there any solution to this?

0 Upvotes
webdew
Guide | Diamond Partner
Guide | Diamond Partner

Does any API give information about list and campaign association?

 Hi @ ,

You have to pass campaigns id and can use this api
here is link 

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards. 

0 Upvotes
BambooBox
Member

Does any API give information about list and campaign association?

Hi @webdew 

 

Thanks for the answer. We have been using this API, but it does not give information of the lists/audience which were part of the campaign.

 

Example response:
{
    "appId": 20185,
    "appName": "AbBatch",
    "contentId": 933742756,
    "counters": {
        "delivered": 1,
        "open": 1,
        "processed": 1,
        "sent": 1
    },
    "id": 13054799,
    "name": "Test AB (Variation) ",
    "numIncluded": 1,
    "numQueued": 1,
    "subType": "VariantB",
    "subject": "test",
    "type": "AB"
}

 Which field should i refer to know get information on the static lists part of the campaign? 

0 Upvotes