cancel
Showing results for 
Search instead for 
Did you mean: 
Tonight (8/23) from 11:00 PM - 12:00AM ET we need to make a few updates to our site. During this time, no emails will be sent and some customers will not be able to access their contacts. We recommend finishing up your work before 11:00 PM and logging in after 12:00 AM ET. Thank you for your patience while we make these updates.

v2/emailmarketing/campaigns does not return campaigns

SOLVED
Occasional Participant

v2/emailmarketing/campaigns does not return campaigns

 

I'm exploring the API and how it might fit in with our backend.  

 

I'm calling 

 

https://api.constantcontact.com/v2/emailmarketing/campaigns?api_key=<redacted>

and receive a 200 response with 

{
    "meta": {
        "pagination": {}
    },
    "results": []
}

 

However, the account has two active campaigns that should be returned.  

 

The account is a trial account -- are there additional permissions or oauth scope that I need to include for this call to work?

 

Thanks

 

tom

 

7 REPLIES 7
Moderator

Re: v2/emailmarketing/campaigns does not return campaigns

Hello Tom,


Thank you for reaching out to the API Support team here at Constant Contact.

 

Even if an account user has the more restrictive role of Campaign Creator, I think they would still be able to see the campaigns in the account through the API. I'd like to look into this for you in greater detail.

Please send an email to webservices@constantcontact.com with your API Key and the username of the Constant Contact account you are testing this with and reference this forum post.

 

Regards,
David B.
Tier II API Support Engineer

Occasional Participant

Re: v2/emailmarketing/campaigns does not return campaigns

Thanks for the quick response.  I've sent the email with requested info.

Highlighted
Occasional Participant

Re: v2/emailmarketing/campaigns does not return campaigns

Moderator

Re: v2/emailmarketing/campaigns does not return campaigns

Hello @TomH681,

 

The reason your campaigns are not showing up with this GET v2/emailmarketing/campaigns is because the campaigns you have in your account are either an Autoresponder or a Welcome Email and they fall in to a different category from a standard email campaign. Our v2 API does not interact with these campaigns; we are hoping to add this to our v3 API which is currently under development.


Regards,
Jimmy D.
Tier II API Support Engineer
Occasional Participant

Re: v2/emailmarketing/campaigns does not return campaigns

Thanks for the explanation.

 

I've accepted this as a solution, but I don't like it :(

 

Looking forward to v3!

Member

Re: v2/emailmarketing/campaigns does not return campaigns

Has the ability to retrieve autoresponder campaigns via the API been added yet?

Moderator

Re: v2/emailmarketing/campaigns does not return campaigns

Hi @MichaelH128,

 

This feature for Autoresponder campaigns in the API will be something that comes with our v3 API which has not been released at this time. We currently do not have an ETA on its release; however once we do release it we will make sure to notify customers most likely through an in product message as well as an announcement on these forums.


Regards,
Jimmy D.
Tier II API Support Engineer