We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

Can not login to api

SOLVED
Go to solution
DaveR50
Regular Participant

Can not login to api

My client has a login for Constant Contact.  However, it does not work on api.constantcontact.com.  Does anyone know how to login or create a login for the api?

1 ACCEPTED SOLUTION
DaveR50
Regular Participant

    $contact->setLink($item->link->Attributes()->href);
    $contact->setId($item->id);
    $contact->setEmailAddress($item->content->Contact->EmailAddress);
    $contact->setFullName($item->content->Contact->Name);
    $contact->setStatus($item->content->Contact->Status);
    $contact->setEmailType($item->Contact->EmailType);

 

is what comes back on the get.

 

But for put there are tons of fields.  I don't know what is required for a post to the api.

View solution in original post

4 REPLIES 4
bsoder
Employee

Hello,

 

In order to get started using our API you first need to get an API key by clicking here and registering for one.  Once you have an API key you would then have access to the API.  I would suggest checking out our documentation and also our sample code.

 

If you have any questions about getting started with your integration please let me know!

 

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
DaveR50
Regular Participant

Thank you.  I had already found get started, after having found ctctwrapper.

 

However, I'm trying to do contactCreate which is failing for me.  I really need to see some documentation on what is absolutely required to write a record.

 

searchByEmail is working for me.

 

So, there seems to be no problem for me to get data but putting it is posing a problem.

DaveR50
Regular Participant

    $contact->setLink($item->link->Attributes()->href);
    $contact->setId($item->id);
    $contact->setEmailAddress($item->content->Contact->EmailAddress);
    $contact->setFullName($item->content->Contact->Name);
    $contact->setStatus($item->content->Contact->Status);
    $contact->setEmailType($item->Contact->EmailType);

 

is what comes back on the get.

 

But for put there are tons of fields.  I don't know what is required for a post to the api.

View solution in original post

Hello,

 

Please see this post.

 

Sincerely,

 

Benjamin Soder
NOC Analyst
Constant Contact
Developer Portal

View API documentation, code samples, get your API key.

Visit Page