Get an Activity

get
activity by id

https://data.salesmachine.io/v2/activities/:id
Request
Response
Request
Path Parameters
id
required
string
The id of the activity
Response
200: OK
{
"object": "activity",
"type": "call",
"id": "5d4d879ef92ea143f0e3e0b5",
"created_at": 1565362078,
"completed_at": 1565361921,
"subject": "Call with John",
"note": "< text here ...> ",
"accounts": [
{
"object": "account",
"id": "5aa42e5ecb4a290c579aeec8"
}
],
"author": {
"object": "user",
"id": "5a9d0d70ec8d83231af64745"
}
}

Example

curl -X GET https://data.salesmachine.io/v2/activities/{id} \
-H 'Accept: application/json' \
-H 'Authorization:Bearer <Your access token>'