contact information without authentication

Highlighted
Occasional Contributor

contact information without authentication

Greetings all,

 

Is it possible to alter the uri for finding contact information so that it does not require authentication when opened?  Perhaps the api, username, and password can be added to the uri so that the xml file opens without a browser or outside program asking for authentication?

 

I'm trying to use the following uri (with username changed, of course):

https://api.constantcontact.com/ws/customers/username/contacts/0000

1 REPLY 1
Highlighted
CTCT Employee

Re: contact information without authentication

Hi,

 

It is possible to provide an access token in the URL, using OAuth2.  It is not possible to accomplish this with basic authentication (username and password).  If you provide your access token in the URL, no other authentication is required.

 

The way to append the access token to the URI is like this (it's the normal URL you would be accessing, using the contacts collection as an example, with the access token appended):

 

https://api.constantcontact.com/ws/customers/username/contacts?access_token=access_token_value

 

I have an instructed example of how to obtain an access token hosted in Github which I am linking to here.

 

Best Regards,

Shannon W.

API Support Specialist

Developer Portal

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

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured