Endpoints
Create Event
Create a new event within your organization. Supports idempotent requests via the Idempotency-Key header.
POST
/v1/partner/eventscurl -X POST https://api.intervals.run/v1/partner/events \
-H "Authorization: Bearer INTERVALS_PARTNER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Summer Solstice 10K",
"slug": "summer-solstice-10k",
"type": "race",
"date": "2025-06-21",
"startTime": "07:30",
"description": "Celebrate the longest day with a scenic 10K.",
"websiteUrl": "https://northshorerace.com/solstice-10k",
"registrationUrl": "https://runsignup.com/solstice-10k"
}'Headers
Idempotency-KeystringUnique key to prevent duplicate creation on retry. UUID recommended.
Content-TypestringrequiredMust be application/json.
Body
application/json
namestringrequiredEvent name.
slugstringrequiredURL-safe slug for the event.
typestringrequiredEvent type.
raceclub-sessiontime-trialdatestringrequiredEvent date. Format: YYYY-MM-DD.
seriesIdstringLink event to an existing series.
endDatestringMulti-day event end date. Format: YYYY-MM-DD.
startTimestringStart time. Format: HH:MM.
endTimestringEnd time. Format: HH:MM.
descriptionstringEvent description.
websiteUrlstringEvent website URL.
registrationUrlstringRegistration page URL.
Required Scope
write:events{
"data": {
"eventId": "e83ghi012jkl345"
}
}curl -X POST https://api.intervals.run/v1/partner/events \
-H "Authorization: Bearer INTERVALS_PARTNER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Summer Solstice 10K",
"slug": "summer-solstice-10k",
"type": "race",
"date": "2025-06-21",
"startTime": "07:30",
"description": "Celebrate the longest day with a scenic 10K.",
"websiteUrl": "https://northshorerace.com/solstice-10k",
"registrationUrl": "https://runsignup.com/solstice-10k"
}'{
"data": {
"eventId": "e83ghi012jkl345"
}
}