Get Schedule Segments

Path Parameters
  • id
    Type: string Format: uuid
    required
Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/schedule_segments/{id}
curl https://app.healthtasks.ai/api/v1/schedule_segments/123e4567-e89b-12d3-a456-426614174000 \
  --header 'x-healthtasks-api-key: YOUR_SECRET_TOKEN'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "track_id": "123e4567-e89b-12d3-a456-426614174000",
    "start_date": "2026-07-09",
    "end_date": "2026-07-09",
    "location_id": "123e4567-e89b-12d3-a456-426614174000",
    "location_unit_id": "123e4567-e89b-12d3-a456-426614174000",
    "advanced_schedule": "string",
    "sort_order": 1,
    "created_at": "2026-07-09T15:48:22.912Z",
    "updated_at": "2026-07-09T15:48:22.912Z",
    "track": {},
    "location": {},
    "location_unit": {}
  }
}