Create contact
documentedCreate a new contact record.
POST /crm/rest/v1/contactsContactsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.infusionsoft.com/crm/rest/v1/contacts" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"duplicate_option":"EmailAndName","given_name":"{{$first_name}} {{$last_name}}","email_addresses":[{"email":"{{$email}}","field":"EMAIL1"}],"phone_numbers":[{"field":"PHONE1","number":"{{$phone}}"}],"addresses":[{"country_code":"USA","field":"BILLING","line1":"{{$address_line1}}","locality":"{{$city}}","region":"{{$state}}","zip_code":"{{$zip}}"}],"email_opted_in":true,"custom_fields":[{"id":1,"content":{"officeID":"{{$officeID}}"}},{"id":2,"content":{"frequency":"{{$serviceType}}"}},{"id":3,"content":{"contractLength":"{{$contractLength}}"}},{"id":4,"content":{"recurringPrice":"{{$recurringPrice}}"}}]}'