curl --request POST \
--url 'https://api.xenia.team/api/v1/task/createTask?weekly=' \
--header 'Content-Type: application/json' \
--header 'workspace-id: <workspace-id>' \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>' \
--data '{
"title": "recurring task daily",
"recurringTask": true,
"requestThisTask": "Weekly",
"recurringByEvery": "Week1",
"intervalWeek": [
"Mon",
"Wed",
"Fri"
],
"editInstance": "One",
"endDate": "2025-06-30T00:00:00-11:00",
"instanceCadence": {
"value": 0,
"unit": null,
"field": null
},
"locationIds": [
"a13ddb59-3e5c-4bdd-8673-fc913b93b9db"
],
"startTime": "2025-06-25T22:00:00-11:00",
"dueTime": "2025-06-25T23:30:00-11:00",
"AutomationId": null,
"isTimeBound": false,
"isMultiTasks": false,
"isAutoTagLocation": false,
"HotelId": "cb363f7e-c52a-4478-911d-f6a6f791090e",
"notification": {
"statusChange": {
"recipients": []
},
"overdue": {
"recipients": []
}
}
}'