Create Contacts
POST https://{{et_subdomain}}.rest.marketingcloudapis.com/contacts/v1/contacts
https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/createContacts.htm
Creates a new contact with the specified information in the specified attribute groups.
Request Body
{"contactKey"=>"postmandemo1", "attributeSets"=>[{"name"=>"Email Addresses", "items"=>[{"values"=>[{"name"=>"Email Address", "value"=>"aaron.cates@salesforce.com"}, {"name"=>"HTML Enabled", "value"=>true}]}]}, {"name"=>"Email Demographics", "items"=>[{"values"=>[{"name"=>"Last Name", "value"=>"Cates"}, {"name"=>"First Name", "value"=>"Aaron"}, {"name"=>"Country", "value"=>"United States"}, {"name"=>"Preferred Store", "value"=>"San Francisco"}]}]}]}
RESPONSES
status: OK
{"operationStatus":"OK","rowsAffected":2,"contactKey":"postmandemo1","contactID":193655592,"contactTypeID":0,"isNewContactKey":true,"requestServiceMessageID":"d6fbbbb7-7d1d-4082-8193-f59a81f839d8","responseDateTime":"2019-07-26T08:15:57.7244277-06:00","hasErrors":false,"resultMessages":[],"serviceMessageID":"11d2581d-7876-4a9e-87eb-ca32daccb1e8"}