Get a task

get
Task

https://data.salesmachine.io/v2/tasks/:id
This endpoint allows you to get free cakes.
Request
Response
Request
Path Parameters
id
required
string
ID of the task to get.
Response
200: OK
Task successfully retrieved.
{
"object": "task",
"id": "6120e071155b81197607c55b",
"created_at": 1629544561,
"type": "todo",
"status": "close",
"subject": "remember the milk",
"body": "don't forget",
"due_at": 1632136561,
"completed_at": 1629544561,
"account": {
"object": "account",
"id": "6120e071155b81197607c557"
},
"assignee": {
"object": "user",
"id": "6120e070155b81197607c507"
}
}
404: Not Found
Could not find a Task matching that query
{
"error": "404 Object not found"
}

Example

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