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

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up