Gestiono
Referencia de APITasks / Schedule

Create Schedule

POST /v1/tasks/schedule • validated by `postTaskSchedule`

← Back to full API reference
POST/v1/tasks/scheduleAuthentication required
  • Validated by Zod schema: postTaskSchedule.

Request details

Path params

No path parameters for this endpoint.

Query params

No explicit query schema was captured for this endpoint.

Body fields

  • taskId (required)

    Type: number

  • start (required)

    Reference to unresolved identifier "z"

  • duration

    Type: number

  • title

    Type: string

  • description

    Type: string

  • location

    Type: string

  • url

    Type: string

  • lat

    Type: number

  • lon

    Type: number

  • status

    Type: string

  • submission

    Type: object

  • notificationConfig

    Type: object

  • notificationConfig.proximityAlerts

    Type: object

  • notificationConfig.proximityAlerts.enabled (required)

    Boolean parser helper from common/utils.zBoolean

  • notificationConfig.proximityAlerts.intervals

    Type: array

    Example:

  • notificationConfig.proximityAlerts.intervals[] (required)

    Type: enum

    Example: 1_day

  • notificationConfig.proximityAlerts.emailNotifications

    Boolean parser helper from common/utils.zBoolean

  • capacity

    Type: number

  • isGroupEvent

    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"
}

Test this endpoint now

Use your own credentials and execute a live request directly from this page.

1. Configure authentication for testing

You can test endpoints with signed API keys, a raw Authorization token, or browser cookies. Select one mode and fill in the required fields.

2. Select endpoint

POST/v1/tasks/scheduleAuthentication required

Group: Tasks / Schedule

POST /v1/tasks/schedule • validated by `postTaskSchedule`

  • Validated by Zod schema: postTaskSchedule.

Body fields

  • taskIdrequired
    Type: number
  • startrequired
    Reference to unresolved identifier "z"
  • duration
    Type: number
  • title
    Type: string
  • description
    Type: string
  • location
    Type: string
  • url
    Type: string
  • lat
    Type: number
  • lon
    Type: number
  • status
    Type: string
  • submission
    Type: object
  • notificationConfig
    Type: object
  • notificationConfig.proximityAlerts
    Type: object
  • notificationConfig.proximityAlerts.enabledrequired
    Boolean parser helper from common/utils.zBoolean
  • notificationConfig.proximityAlerts.intervals
    Type: array
    Ejemplo:
  • notificationConfig.proximityAlerts.intervals[]required
    Type: enum
    Ejemplo: 1_day
  • notificationConfig.proximityAlerts.emailNotifications
    Boolean parser helper from common/utils.zBoolean
  • capacity
    Type: number
  • isGroupEvent
    Boolean parser helper from common/utils.zBoolean

3. Prepare request payload

4. Server response

Run a request to inspect the real-time response for your environment.