Contact
Contacts can be created or updated via a POST method which accepts a JSON object describing the contact.
Contacts not found via contact_uid will be created, and those that are found will be updated.
post
https://api.salesmachine.io
/v1/contact
Create or update a contact
curl -X POST -H "Content-Type: application/json" \
-d '{"contact_uid":"123456", "params" : { "email":"[email protected]", "name":"Elon Musk", "gender":"male", "mrr": 99, "account_uid":"78910" }}' \
'https://api.salesmachine.io/v1/contact?api_token=<YOUR_API_TOKEN>'
name | Format | Description |
mrr | number | MRR Value |
churn_date | date | Date when contact has churned (Timestamp) |
churn_mrr | number | MRR Value when churned |
churn_reason | string | unique_id defining the reason why contact has churned (Snake Case) |
churn_comment | string | Comment to explain why contact has churned |
Last modified 2yr ago