Documentation
- Getting Started
- Authentication
- Making Requests
- Resource Creation
- Searching
- Plugins
- Webhooks
Tutorials
APIs
- Activity Codes
- Archive
- Authorization
- Bank Accounts
- Contacts
- Events
- Expenses
- Fees
- Files
- Firm
- Firm Users
- Folders
- Invoices
- Layout Designs
- Layout Matter Items
- Matter Billing Configuration
- Matter Items
- Matter Types
- Matters
- Memos
- Notifications
- Plugins
- Referral Types
- Relationships
- Roles
- Staff
- Stages
- Subscription Payments
- Subscription Promotions
- Subscriptions
- Tasks
- Users
- Webhooks
Tasks
Get a task
Retrieves a specified task.
GET
/
tasks
/
{id}
curl --request GET \
--url https://api.smokeball.com/tasks/{id} \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"parentTask": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"createdBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"completedBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"lastUpdatedBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"assignees": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
],
"subTasks": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
],
"subject": "Review contract for John Smith",
"note": "Contract needs to be reviewed and discussed with John",
"categories": [
"<string>"
],
"dueDate": "2020-02-15T00:00:00Z",
"completedDate": "2020-02-15T00:00:00Z",
"createdDate": "2020-02-15T00:00:00Z",
"isCompleted": false,
"isDeleted": false,
"lastUpdated": 637847425252027400,
"duration": "PT4H33M"
}
Path Parameters
Response
200
application/json
When request is successful. Returns a 'Task' object.
The response is of type object
.
curl --request GET \
--url https://api.smokeball.com/tasks/{id} \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"parentTask": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"createdBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"completedBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"lastUpdatedBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"assignees": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
],
"subTasks": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
],
"subject": "Review contract for John Smith",
"note": "Contract needs to be reviewed and discussed with John",
"categories": [
"<string>"
],
"dueDate": "2020-02-15T00:00:00Z",
"completedDate": "2020-02-15T00:00:00Z",
"createdDate": "2020-02-15T00:00:00Z",
"isCompleted": false,
"isDeleted": false,
"lastUpdated": 637847425252027400,
"duration": "PT4H33M"
}