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
Solved! Go to Solution.
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
Thanks for the quick response. I've sent the email with requested info.
For what its worth, other API calls perform as expected:
{ "name": "DeleteMe", “status”: "ACTIVE" }
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.
Thanks for the explanation.
I've accepted this as a solution, but I don't like it :(
Looking forward to v3!
Has the ability to retrieve autoresponder campaigns via the API been added yet?
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.