Referencia de APITasks / Schedule
Create Schedule
← Back to full API reference
POST
/v1/tasks/scheduleAuth required- Validated by Zod schema: postTaskSchedule.
Request details
Body fields
| Field | Required | Description |
|---|---|---|
| taskId | Yes | Type: number |
| start | Yes | Reference to unresolved identifier "z" |
| duration | No | Type: number |
| title | No | Type: string |
| description | No | Type: string |
| location | No | Type: string |
| url | No | Type: string |
| lat | No | Type: number |
| lon | No | Type: number |
| status | No | Type: string |
| submission | No | Type: object |
| notificationConfig | No | Type: object |
| notificationConfig.proximityAlerts | No | Type: object |
| notificationConfig.proximityAlerts.enabled | Yes | Boolean parser helper from common/utils.zBoolean |
| notificationConfig.proximityAlerts.intervals | No | Type: arrayExample: |
| notificationConfig.proximityAlerts.intervals[] | Yes | Type: enumExample: 1_day |
| notificationConfig.proximityAlerts.emailNotifications | No | Boolean parser helper from common/utils.zBoolean |
| capacity | No | Type: number |
| isGroupEvent | No | Boolean parser helper from common/utils.zBoolean |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"taskId": 1,
"start": "2026-01-01T00:00:00.000Z"
}Sample response
json
{
"success": true,
"message": "Sample response placeholder for POST /v1/tasks/schedule"
}