Server Flow Authorization Problem


Server Flow Authorization Problem

HI Gud day,


am new one in ConstantContact,am using REstFull API call,but am getting the responce like as


   Status=Moved Temporarili,StatusCode = 302


What is the mean it?


am using the url in endpoint of the call



when am using the another way am getting the responce and access_token and access_screct


the way am using is that


end point =

clientid and consumer secret 


am getting the access_token and access_secret and verifycode


what is the verify code?


is to verify the request or some thing else could u explain me. it is very help full to me to integrate API to App.





Hello Feroz,


One important thing that I had noticed is that you have included URLs that are using both OAuth2 and OAuth1. I would highly suggest only using OAuth2 as it is becoming an industry standard and offers better features.



When you are authenticating with OAuth2, the server flow looks something like this:


1. The user is sent to the Authentication URI. EX:{A... where you replace {API_KEY} and {Redirect_URI} with the your own values.
2. The user fills out their Constant Contact account information.

3. The information provided is verified and then the user is sent to your Redirect URI with a code and the username attached. EX:

4. You can exchange this code for a permanent access token by sending a GET request in the following format:







In this example, all names in curly braces (including the braces) would be replaced with the appropriate values from your API key configuration.


In addition, we have a PHP example code to show this process that you can find here:

And a documentation page discussing the details of authentication with OAuth2 that you can find here:


If you do still have questions, you can reply to this post and we will be happy to help you!



Elijah G.

Tier 2 Support

Elijah G.
API Support Engineer
Developer Portal

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

Visit Page