curl --request POST \
--url https://api.xenia.team/api/v1/task/createTask \
--header 'Content-Type: application/json' \
--header 'workspace-id: <workspace-id>' \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>' \
--data '
{
"title": "room inspection",
"description": "test description",
"priority": "High",
"assignees": [
"dfea8b8a-5b22-4668-b68d-dc641eb3a101",
"b465548d-69fc-42e3-b406-6af3b9d2f62a",
"c027212e-eedd-4fdd-9317-27903b82ed6e"
],
"locationIds": null,
"AssetId": null,
"startTime": "2025-06-24T00:00:00-11:00",
"dueTime": "2025-06-25T23:30:00-11:00",
"isTimeBound": true,
"isMultiTasks": true,
"isAutoTagLocation": true,
"serviceTypeId": "263a3926-9cb1-4ad6-8969-ecfce1674cb7",
"attachment": [
"cb363f7e-c52a-4478-911d-f6a6f791090e/2025/6/24/88127020/screenshot-2020-07-28-at-12-14-39-pm.png",
"cb363f7e-c52a-4478-911d-f6a6f791090e/2025/6/24/88127020/screenshot-2020-07-28-at-12-59-12-pm.png"
],
"AutomationId": null,
"workspaceId": "cb363f7e-c52a-4478-911d-f6a6f791090e",
"notification": {
"statusChange": {
"recipients": []
},
"overdue": {
"recipients": [
"e25dd448-7ae7-4588-8767-7e1a316547e5"
]
}
}
}
'