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
Create a task
Creates a task.
POST
/
tasks
curl --request POST \
--url https://api.smokeball.com/tasks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--header 'x-api-key: <api-key>' \
--data '{
"matterId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"staffId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"completedByStaffId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"assigneeIds": [
"<string>"
],
"subject": "Review contract for John Smith",
"note": "Contract needs to be reviewed and discussed with John",
"isCompleted": false,
"categories": [
"<string>"
],
"completedDate": "2022-07-01",
"dueDate": "2022-07-01",
"duration": "PT4H33M"
}'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
}
Body
Response
202
application/json
When request is accepted. Returns a hypermedia 'Link' object of the task to be created.
The response is of type object
.
curl --request POST \
--url https://api.smokeball.com/tasks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--header 'x-api-key: <api-key>' \
--data '{
"matterId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"staffId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"completedByStaffId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"assigneeIds": [
"<string>"
],
"subject": "Review contract for John Smith",
"note": "Contract needs to be reviewed and discussed with John",
"isCompleted": false,
"categories": [
"<string>"
],
"completedDate": "2022-07-01",
"dueDate": "2022-07-01",
"duration": "PT4H33M"
}'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
}
Assistant
Responses are generated using AI and may contain mistakes.