Create a new schedule
Create a recurring schedule (cron job) to send messages at specified intervals
/api/v2/schedulesAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
application/jsonnamestringrequiredHuman-readable name for the schedule
cronExpressionstringrequiredCron expression defining the schedule
timezonestringTimezone for the cron schedule
urlstring<uri>requiredDestination URL
methodstringGETPOSTPUTPATCHDELETEheadersobjectbodyanyRequest body
Schedule created successfully
successbooleandataPublicScheduleShow propertiesHide properties
scheduleIdstringrequirednamestringrequiredcronExpressionstringrequiredtimezonestring | nullrequiredurlstring<uri>requiredmethodstringrequiredGETPOSTPUTPATCHDELETEheadersobject | nullrequiredDelivery headers with sensitive values redacted.
bodyany | nullrequiredRequest body
isActivebooleanrequiredisPausedbooleanrequirednextRunAtstring<date-time> | nullrequiredlastRunAtstring<date-time> | nullrequiredlastStatusstring | nullrequiredcreatedAtstring<date-time>requiredupdatedAtstring<date-time>requiredBad Request - Invalid input data
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectPayment Required - Feature not available on current plan
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectToo Many Requests - either the request rate limit, or the plan's cap on how many of this resource may exist. The code distinguishes them: RATE_LIMIT_EXCEEDED clears on its own, QUOTA_EXCEEDED does not until you remove one or upgrade.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
