How to send command line POST to create contact


(Ankush Thakur) #1

I’m not able to figure out how to send a POST request for creating contacts. Particularly, I’m not sure where the access token goes. What I tried was this with a valid access token but got Developer Inactive:

curl --data "access_token=my_access_token" -H "Content-Type: application/json" -X > POST -d '{"email_address": [{"email":"ankush.thakur53@gmail.com"}]}' https://api.infusionsoft.com/crm/rest/v1/contacts

Please guide me a little here.


(John Borelli) #2

access_token goes at the end of your endpoint url


(Ankush Thakur) #3

Thank you, thank you!