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.

API Authorization issue with Zapier on custom PUT request

TimS3776
Participant

API Authorization issue with Zapier on custom PUT request

I'm trying to get information from Zapier into CC using the API. I think I finally have all the code working but when I do the test from the Zapier side I'm getting "the app returned "anauthorized". It seems I'm missing the authorization portion of this code but I'm having a hard time finding any examples of what I need to do after searching. Thanks

 

Current Code:

 

{
"email_address": "{{90468520__email}}",
"first_name": "{{90468520__first_name}}",
"last_name": "{{90468520__last_name}}",
"list_memberships": [
"d0f03d12-7217-11eb-9800-fa163edc3efc"
],
"street_address": {
"city": "{{113887163__city}}",
"state": "{{113887163__state}}",
"postal_code": "{{113887163__zip_code}}",
}
}

 

1 REPLY 1
Courtney_E
Moderator

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.

 

It looks like we've already followed up with you directly via email, but here is the information provided for visibility on the forum:

 

Try reformatting the URL request(s) like this:

 

Contacts Endpoint POST URL:

https://api.cc.email/v3/contacts?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&redirect_uri=https:/...

 

Contacts sign_up_form POST URL:

https://api.cc.email/v3/contacts/sign_up_form?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&redirec...

 


Regards,

Courtney E.
API Support Specialist

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.
Developer Portal

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

Visit Page