How to send command line POST to create contact

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.

access_token goes at the end of your endpoint url

2 Likes

Thank you, thank you!