Get a Contact

Each contact object has its own URL

get
contact by id

https://data.salesmachine.io/v2/contacts/:id
Request
Response
Request
Path Parameters
id
required
string
Salesmachine contact id
Response
200: OK
{
"object": "contact",
"id": "5d3bae5bcb4a287b44583a55",
"unique_id": "5d3bae4cf92ea13a3dfb542e",
"created_at": 1564192347,
"archived": true,
"data": {
...
},
"salesmachine": {
...
},
"stage": {
"name": "Trial",
"id": "5b2bc014ce8d8355c6d48b70"
},
"accounts": {
"object": "account.list",
"data": [
{
"id": "5d3bae278cae234bef95405a"
}
]
}
}
curl -X GET https://data.salesmachine.io/v2/contacts/{id} \
-H 'Accept: application/json' \
-H 'Authorization:Bearer <Your access token>'

get
contact by unique_id

https://data.salesmachine.io/v2/contacts?uid=:unique_id
Request
Response
Request
Query Parameters
uid
required
string
External unique_id
Response
200: OK
{
"object": "contact",
"id": "5d3bae5bcb4a287b44583a55",
"unique_id": "5d3bae4cf92ea13a3dfb542e",
"created_at": 1564192347,
"data": {
...
},
"salesmachine": {
...
},
"stage": {
"name": "Trial",
"id": "5b2bc014ce8d8355c6d48b70"
},
"accounts": {
"object": "account.list",
"data": [
{
"id": "5d3bae278cae234bef95405a"
}
]
}
}
curl -X GET https://api.salesmachine.io/v2/contacts/{id} \
-H 'Accept: application/json'
-H 'Authorization:Bearer <Your access token>'