Hi Team,
I can’t seem to upsert a contact.
Following the API here Freshsales | Refreshingly new CRM & Deal Management Software
Below is the code I ran, token & domain names are redacted.
curl -H "Authorization: Token token=MY_TOKEN_CODE_REDACTED" -H "Content-Type: application/json" -d '{"unique_identifier":{"emails": "jamessampleton@gmail.com"}, "contact":{"first_name":"James", "last_name":"Sampleton (sample)", "mobile_number":"1-926-555-9503"}}' -X POST "https://mydomain.freshworks.com/crm/sales/api/contacts/upsert"