Chanl

List Schedules

Deprecated. The Schedules API is no longer the supported automation surface. Use Triggers at POST /api/v1/triggers for scheduled and event-driven workflows. This page is retained for reference only.

Get all automated schedules in a workspace (legacy).

Request
curl -X GET "https://api.chanl.ai/api/v1/workspaces/ws_123/schedules" \
  -H "Authorization: Bearer <access_token>"
Response
{
  "success": true,
  "data": {
    "schedules": [
      {
        "id": "schedule_123",
        "name": "Daily Customer Service Test",
        "scenarioId": "scenario_456",
        "periodicity": "daily",
        "isActive": true,
        "nextRun": "2024-01-16T10:00:00Z",
        "lastRun": "2024-01-15T10:00:00Z",
        "created_at": "2024-01-01T10:00:00Z"
      }
    ]
  }
}