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":""}]}'

Please guide me a little here.

access_token goes at the end of your endpoint url


Thank you, thank you!