cancel
Showing results for 
Search instead for 
Did you mean: 

c# Getting Started

New Member

Old versions support

Hi guys,

 

As you plan to migrate to V3, can you confirm that the existing API  version will remain available and working ?

 

Moderator

Re: Old versions support

Hello,

 

Thank you for reaching out to Constant Contact API Support.

 

The plan will be to eventually retire our V1 and V2 API versions as we move users over to V3. While I don't have a specific timeframe I can provide quite yet, we will be sure to announce an end-of-life plan for any legacy APIs so that everyone has enough time to plan and develop new integrations using the V3 API.

 

Please let me know if you have any other questions!

Sincerely,
David B.
Tier II API Support Engineer

 

 

Highlighted
Established Member

Re: c# Getting Started

I am trying to incorporate your api into my clients current signup form.

We want to create a new contact with each form submission (unless email already in constant contact)

I'll be posting to a single constant contact account so does that mean I don't need the .net sdk?

can i just post directly to api in webrequest with all the persons data as parameters.

 

cant seem to find any examples of just the api url with parameters etc.

 

Do i just pass access token as part of the api post?

 

Any examples for .net (not the html form), but c# httpwebrequest or similar.

Moderator

Re: c# Getting Started

Hi @SamanthaL66,

 

Looks like you also emailed us this request and I've replied there, but I'll give a brief answer here for anyone else who may come across this.

 

The base answer for this request is yes. The problem was that the Access Token was not being submitted in the HTML header. It needs to be submitted in the header as a Bearer token. If that is done then you can just submit the API calls as an HTTP request similar to how our API Tester page works. https://constantcontact.mashery.com/io-docs


Regards,
Jimmy D.
Tier II API Support Engineer