Accounts

Accounts allow you to represent commercial organizations using your product.

Each account will have its own description and be associated with contacts. You can create and update companies and add custom attributes describing them. Accounts can be viewed individually or as a list.

Model

An Account object contains the following fields

Attribute

Type

Description

object

string

Value is ‘account’

id

string

Salesmachine internal id representing the account

created_at

timestamp

The time (in seconds) the account was added to Salesmachine

unique_id

string

The account unique_id you have defined for the account.

data

object

The custom attributes you have set on the account.

salesmachine

object

The salesmachine metrics

contacts

list

A list of contacts for the account

{
"object": "account",
"id": "5d3bae5bcb4a287b44583a55",
"unique_id": "5d3bae4cf92ea13a3dfb542e",
"created_at": 1564192347,
"data": {
"name": "Acme corp"
},
"salesmachine": {
"health": "good"
},
"stage": {
"name": "Trial",
"id": "5b2bc014ce8d8355c6d48b70"
},
"contacts": {
"object": "contact.list",
"data": [
{
"id": "5d3bae278cae234bef95405a"
}
]
}
}