I feel like I’m very close to getting this working but I’m missing something. If I use the following code on Zapier I get a error saying “The app returned unauthorized”.
Method
POST
URL
https://api.cc.email/v3/contacts/sign_up_form
Data Pass-Through?
Data
{
"email_address": "testuser@gmail.com",
"first_name": "Test",
"last_name": "User",
"list_memberships": [
"d0f03d12-7217-11eb-9800-01010101010"
],
"street_address": {
"city": "Test City",
"state": "Test State",
"postal_code": "00000",
}
}
Unflatten
yes
Basic Auth
Headers
Authorization
Bearer 010101010101010101010101
Content-Type
application/json
I then go in and change the URL and I get a error saying “The app returned “The requested resource was not found”.”
Method
POST
URL
https://api.cc.email/v3/idfed?client_id=4ca4db8e-e9ee-40bb-85ad-2398972349f&redirect_uri=https://zapier.com/dashboard/auth/oauth/return/App123422CLIAPI&response_type=token&scope=contact_data
Data Pass-Through?
Data
{
"email_address": "testuser@gmail.com",
"first_name": "Test",
"last_name": "User",
"list_memberships": [
"d0f03d12-7217-11eb-9800-01010101010"
],
"street_address": {
"city": "Test City",
"state": "Test State",
"postal_code": "00000",
}
}
Unflatten
yes
Basic Auth
Headers
Authorization
Bearer 010101010101010101010101
Content-Type
application/json
This is about to drive me crazy, what am I missing with this? I’ve tried things about a hundred different ways without luck.
Thanks!
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:
Contacts sign_up_form POST URL:
Support Tips
"There's a multitude of ways to engage your audience through us using your social platforms - via ads, social post metrics, email links, and more! " - Will
See ArticleSupport Tips
"Target your most engaged contacts by creating a segment. Create a special offer or show your appreciation!" - Caitlin
See ArticleSupport Tips
"Greet new contacts with one or more automated Welcome Emails depending on their interests or your business goals." - Nick
See Article