Last updated 2 months ago
GET /v1/schedules/text-to-cron?cron=text HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Successful Response
No content
GET /v1/schedules/{schedule_id} HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
DELETE /v1/schedules/{schedule_id} HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
GET /v1/schedules HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "data": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "user_id": "text", "chat_id": "123e4567-e89b-12d3-a456-426614174000", "created_at": "2025-04-22T14:40:38.669Z", "updated_at": "2025-04-22T14:40:38.669Z", "last_ran_at": "2025-04-22T14:40:38.669Z", "active": true, "archived": true, "cadence": "text", "bundle": "text", "toolhouse_id": "text", "vars": { "ANY_ADDITIONAL_PROPERTY": "text" }, "title": "text", "chat_archived": true, "callback_url": "https://example.com" } ] }
default
POST /v1/schedules HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 184 { "chat_id": "123e4567-e89b-12d3-a456-426614174000", "cadence": "text", "bundle": "text", "toolhouse_id": "text", "vars": { "ANY_ADDITIONAL_PROPERTY": "text" }, "callback_url": "https://example.com" }
true
PUT /v1/schedules/{schedule_id} HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 198 { "active": true, "cadence": "text", "bundle": "text", "toolhouse_id": "text", "vars": { "ANY_ADDITIONAL_PROPERTY": "text" }, "chat_id": "123e4567-e89b-12d3-a456-426614174000", "callback_url": "https://example.com" }