- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello there,
I found a few articles about unauthorized 401 responses but I haven't found a solution for my issue. I was able to make the two different calls to get an access_token with Postman.
{
"access_token": "abcdef",
"refresh_token": "abcdef",
"token_type": "Bearer"
}
From there, I'm unable to use the API. For example when I'm trying to get the contacts from a list, I obtain the following :
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
The formatting of your example looks correct for the GET list membership request.
If you’re getting an error, your token may be expired, as they only stay active for a limited amount of time.
https://developer.constantcontact.com/api_guide/auth_overview.html#tokens
I’d recommend refreshing your access token and then using the new token value in your request:
Regards,
Courtney E.
Tier II API Support Engineer
Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
