Followers Are Great, Contacts Are Gold. Create a Free AI-Quiz With Lead Magnet to Share With Your Followers and Own Your Contacts!

. addHeader("Authorization","Basic { access_token}")

user501253
Rookie
0 Votes

Prompt me this question. addHeader("Authorization","Basic { access_token}")

What is the reason, what should I do?

3 REPLIES 3
David_B.
Employee
0 Votes

Hello,

 

Thank you for reaching out to Constant Contact API Developer Support.

 

Can you clarify what you're looking to accomplish? Our Authorization headers should be Bearer rather than Basic, and your access token is obtained during the OAuth flow.

 

Are you using our V2 or V3 API?

 

Regards,

 

David B.
Tier II API Support Engineer

user501253
Rookie
0 Votes

I am using v3

David_B.
Employee
0 Votes

Hello,

 

Where are you being prompted to do this?


Are you working in an app you are building, or are you using a 3rd party integration?

 

Regards,

 

David B.
Tier II API Support Engineer

Resources
Developer Portal

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

Visit Page