Salesmachine API
Home
Product documentation
Search…
v2.0
Welcome to Salesmachine API
Tracking API
Authentication
Javascript tracking
Contact
Account
Event
Access API
Authentication
Contacts
Accounts
Notes
Activities
Tasks
Users
Errors
HTTP Responses
Rate Limiting
Changelog
Powered By
GitBook
Account
Account object is the main entity to collect account data. An account is a collection of contacts and a contact can belong to several accounts.
post
https://api.salesmachine.io
/v1/account
Create or update an account
Example
1
curl
-X POST -H
"Content-Type: application/json"
\
2
-d
'{"account_uid":"78910", "params" : {"name":"Tesla Motors", "employee_count":12000,"mrr":999}}'
\
3
'https://api.salesmachine.io/v1/account?api_token=<YOUR_API_TOKEN>'
Copied!
Reserved fields
name
Format
Description
mrr
number
MRR Value
domain
string
Domain is used for enriching account info
churn_date
date
Date when the account has churned (Timestamp)
churn_mrr
number
MRR Value when the account has churned
churn_reason
string
unique_id defining the reason why account has churned (Snake Case)
churn_comment
string
Comment to explain why account has churned
Tracking API - Previous
Contact
Next - Tracking API
Event
Last modified
1yr ago
Copy link
Contents
post
Create or update an account
Example
Reserved fields