curl --location --request POST 'https://api.astravue.com/v1/tasks' \
--header 'X-Org-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskTitle": "Implement authentication module",
"description": "This task involves implementing the authentication module for the application.",
"owners": [
1,
2,
3
],
"startDate": "2023-10-01T00:00:00Z",
"dueDate": "2023-10-15T00:00:00Z",
"completion": 50,
"status": "In Progress",
"priority": "High",
"tags": [
"backend",
"urgent"
]
}'
{
"success": true,
"message": "Operation completed successfully",
"code": 200,
"data": {
"tenantId": 0,
"taskId": 0,
"taskTitle": "string",
"description": "string",
"descriptionMentionedUserIds": [
0
],
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"completion": 0,
"priority": {
"tenantId": 0,
"taskPriorityId": 0,
"priorityLabel": "string",
"color": "string",
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"default": true,
"primary": true
},
"status": {
"tenantId": 0,
"taskStatusId": 0,
"statusName": "string",
"color": "string",
"statusCategory": "string",
"projectId": 0,
"spaceId": 0,
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"default": true,
"primary": true
},
"taskTags": [
{
"tenantId": 0,
"taskTagId": 0,
"tagName": "string",
"color": "string",
"createdBy": 0,
"modifiedBy": 0
}
],
"overdueStatus": true,
"parentId": 0,
"taskListId": 0,
"createdByMail": "string",
"senderName": "string",
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedTime": "2019-08-24T14:15:22Z",
"createdTime": "2019-08-24T14:15:22Z",
"deleted": true,
"deletedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"deletedTime": "2019-08-24T14:15:22Z",
"completedTime": "2019-08-24T14:15:22Z",
"timer": 0,
"messageId": "string",
"owners": [
{
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
}
],
"followers": [
{
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
}
],
"taggedUsers": [
{
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
}
],
"members": [
{
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
}
],
"projectId": 0,
"spaceId": 0,
"projectName": "string",
"spaceName": "string",
"subTaskCount": 0,
"parentCommentCount": 0,
"customFields": [
{
"tenantId": 0,
"taskCustomFieldId": 0,
"fieldName": "string",
"description": "string",
"fieldType": "string",
"fieldValue": [
{
"taskId": 0,
"value": {}
}
],
"fieldIcon": "string",
"spaceId": 0,
"projectId": 0,
"associatedId": 0,
"order": 0,
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"createdTime": "2019-08-24T14:15:22Z",
"modifiedTime": "2019-08-24T14:15:22Z",
"customFieldOption": [
{
"optionId": 0,
"optionName": "string",
"color": "string",
"spaceId": 0,
"projectId": 0,
"taskCustomFieldId": 0
}
]
}
],
"blockedByTasks": [
{
"tenantId": 0,
"dependencyId": 0,
"spaceId": 0,
"projectId": 0,
"dependencyType": "string",
"blocking": {
"taskId": 0,
"projectId": 0,
"spaceId": 0,
"taskTitle": "string",
"status": {
"tenantId": 0,
"taskStatusId": 0,
"statusName": "string",
"color": "string",
"statusCategory": "string",
"projectId": 0,
"spaceId": 0,
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"default": true,
"primary": true
},
"dueDate": "2019-08-24T14:15:22Z",
"owners": [
{
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
}
]
},
"blockedBy": {
"taskId": 0,
"projectId": 0,
"spaceId": 0,
"taskTitle": "string",
"status": {
"tenantId": 0,
"taskStatusId": 0,
"statusName": "string",
"color": "string",
"statusCategory": "string",
"projectId": 0,
"spaceId": 0,
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"default": true,
"primary": true
},
"dueDate": "2019-08-24T14:15:22Z",
"owners": [
{
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
}
]
},
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"createdTime": "2019-08-24T14:15:22Z"
}
],
"blockingTasks": [
{
"tenantId": 0,
"dependencyId": 0,
"spaceId": 0,
"projectId": 0,
"dependencyType": "string",
"blocking": {
"taskId": 0,
"projectId": 0,
"spaceId": 0,
"taskTitle": "string",
"status": {
"tenantId": 0,
"taskStatusId": 0,
"statusName": "string",
"color": "string",
"statusCategory": "string",
"projectId": 0,
"spaceId": 0,
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"default": true,
"primary": true
},
"dueDate": "2019-08-24T14:15:22Z",
"owners": [
{
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
}
]
},
"blockedBy": {
"taskId": 0,
"projectId": 0,
"spaceId": 0,
"taskTitle": "string",
"status": {
"tenantId": 0,
"taskStatusId": 0,
"statusName": "string",
"color": "string",
"statusCategory": "string",
"projectId": 0,
"spaceId": 0,
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"default": true,
"primary": true
},
"dueDate": "2019-08-24T14:15:22Z",
"owners": [
{
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
}
]
},
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"createdTime": "2019-08-24T14:15:22Z"
}
],
"parent": true,
"internal": true,
"recurring": true
},
"timestamp": "2023-01-01T12:00:00Z"
}