curl --request POST \
--url http://localhost:3333/v1/task-management \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "Review vendor contract",
"entityId": "<string>",
"entityType": "vendor",
"description": "<string>",
"status": "todo",
"priority": "medium",
"assigneeId": "<string>"
}
'{
"id": "tski_abc123def456",
"title": "Review vendor contract",
"description": {},
"status": "todo",
"priority": "urgent",
"entityId": "<string>",
"entityType": "vendor",
"assignee": {
"id": "<string>",
"user": {}
},
"createdBy": {
"id": "<string>",
"user": {}
},
"updatedBy": {
"id": "<string>",
"user": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Create a task item for an entity
curl --request POST \
--url http://localhost:3333/v1/task-management \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "Review vendor contract",
"entityId": "<string>",
"entityType": "vendor",
"description": "<string>",
"status": "todo",
"priority": "medium",
"assigneeId": "<string>"
}
'{
"id": "tski_abc123def456",
"title": "Review vendor contract",
"description": {},
"status": "todo",
"priority": "urgent",
"entityId": "<string>",
"entityType": "vendor",
"assignee": {
"id": "<string>",
"user": {}
},
"createdBy": {
"id": "<string>",
"user": {}
},
"updatedBy": {
"id": "<string>",
"user": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}API key for authentication
Task title
"Review vendor contract"
ID of the entity this task belongs to
Type of entity
vendor, risk "vendor"
Task description
Task status
todo, in_progress, in_review, done, canceled Task priority
urgent, high, medium, low Assignee member ID
Task item created successfully
Task item ID
"tski_abc123def456"
Task title
"Review vendor contract"
Task description
Task status
todo, in_progress, in_review, done, canceled Task priority
urgent, high, medium, low ID of the entity this task belongs to
Type of entity
vendor, risk Assignee information
Show child attributes
Creator information
Show child attributes
Last updater information
Show child attributes
Creation timestamp
Last update timestamp
Was this page helpful?