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

API Tester returns bad request

MartinC966
Rookie
0 Votes

I'm using this testing a post request on the api tester and it return a 400 bad request.

{

   "lists":[{"id": "1712653224"}], 

  "email_addresses":[{"email_address":"janedoe@doe.com"}],

"last_name":"Doe","first_name":"Jane"}

1 REPLY 1
Jimmy_D
Employee
0 Votes

Hello @MartinC966,

 

Thank you for reaching out to Constant Contact's API Support.

 

If you are making a POST then the JSON data format is correct and I would look in to either your header information or how you have your endpoint URL formatted.

 


Regards,
Jimmy D.
Tier II API Support Engineer
Resources
Developer Portal

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

Visit Page