Tasks
Create a new Task
Changed onBeta: Breaking changes may occur without notice.
Creates a new Task and returns the created Task object. Requires the Tasks add-on.
post/v2/task
Request
- Base URLhttps://api.workiz.com/crm/api
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring required
Example:Bearer <token>
Bearer Token
Request body
Example request
{
"title": "Doctor appointment",
"description": "Doctor appointment with Dr. Smith",
"start": "2024-07-25 09:00:00",
"end": "2024-07-25 11:00:00",
"tags": [
"TAG-16a94b03317f6e64"
],
"techIds": [
"USR-83510a9930f203f4",
"USR-a4f86bf1deefec12",
"USR-d59dbcd34aa19dce"
],
"parentId": "JOB-BA5r7o4bqzR9MONa"
}Response
The created Task.
Example response
{
"id": "TSK-3e6cca162914f48f",
"title": "Doctor appointment",
"description": "Doctor appointment with Dr. Smith",
"start": "2024-07-25 09:00:00",
"end": "2024-07-25 11:00:00",
"tags": [
{
"id": "TAG-8cddc18e7b0458fa",
"name": "Estimate"
}
],
"techIds": [
"USR-83510a9930f203f4",
"USR-a4f86bf1deefec12",
"USR-d59dbcd34aa19dce"
],
"parentId": "JOB-BA5r7o4bqzR9MONa",
"updatedAt": "2024-07-25 09:00:00",
"createdAt": "2024-07-25 09:00:00",
"progress": 50,
"total": 100
}Changes
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
response property
messagelist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response403
- warning
- info
endpoint added
- info