curl --request PUT \ --url https://api.gocobalt.io/api/v1/workflow/public/scheduled/:schedule_id \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "trigger_type": "<string>", "payload": {}, "regex": "*/6 * * * *", "currentDate": "YYYY-MM-DD", "tz": "Asia/Kolkata", "endDate": "YYYY-MM-DD", "startDate": "YYYY-MM-DD", "interval_dates": [ { "date": { "day": 23, "month": 1, "year": 2025 "hour": 22, "minute": 22, "second": 22 }, "tz": "Asia/Kolkata" } ] }'
{ "_id": "67becf62f29636d291eaadc0", "event_id": "67becf62f29636d291eaadbf", "workflow": "663c73e4608a784bacac384a", "linked_account_id": "tim-cook", "environment": "test", "org_id": "65c9ef72f4b95fce32e8ccf8", "cron_patten": "*/6 * * * *", "inactive": false, "registered_by_api": true, "options": { "currentDate": "2025-02-26", "endDate": "2025-02-28", "startDate": "2025-02-27", "tz": "Asia/Kolkata" }, "trigger_type": "cron", "trigger_interval": [], "schedule_added_at": "2025-02-26T08:22:58.080Z", "updatedAt": "2025-02-26T08:22:58.080Z" }
cron
interval
Show properties