Endpoints
All recurrences
Retrieve a list of recurrence schedules attached to your organization's events. A recurrence describes how a parent event repeats (weekly tempo, monthly long run, etc.) and is the source of truth for auto-publishing future event runs.
GET
/recurrencescurl -H "Authorization: Bearer INTERVALS_PARTNER_API_KEY" \
https://api.intervals.run/recurrences?status=active&limit=20Query Parameters
limitnumberMaximum number of recurrences to return (1-100)
statusenum<string>Filter by lifecycle status
Available options: active,paused,archived
Authorization
read:recurrencesResponse
_idstringrequiredRecurrence ID
eventIdstringrequiredParent event ID
labelstringHuman-readable label (e.g. 'Tuesday tempo')
scheduleobjectrequiredRecurrence schedule
defaultCourseIdstringDefault course ID for this cadence
statusenum<string>requiredLifecycle status
Available options: active,paused,archived
autoPublishHorizonWeeksnumberWeeks ahead to auto-publish event runs
{
"data": [
{
"_id": "rc91abc234def567",
"eventId": "e72tuv901wxy234",
"label": "Tuesday tempo",
"schedule": {
"frequency": "weekly",
"daysOfWeek": [
2
],
"startTime": "18:30",
"durationMinutes": 60
},
"status": "active",
"autoPublishHorizonWeeks": 8
}
]
}Request
curl -H "Authorization: Bearer INTERVALS_PARTNER_API_KEY" \
https://api.intervals.run/recurrences?status=active&limit=20Response
{
"data": [
{
"_id": "rc91abc234def567",
"eventId": "e72tuv901wxy234",
"label": "Tuesday tempo",
"schedule": {
"frequency": "weekly",
"daysOfWeek": [
2
],
"startTime": "18:30",
"durationMinutes": 60
},
"status": "active",
"autoPublishHorizonWeeks": 8
}
]
}