Endpoints
Create an event
Add a new event to your organization. Requires an Idempotency-Key header so retries never create duplicates.
POST
/eventsHeaders
Content-TypestringrequiredMust be application/json.
Idempotency-KeystringrequiredRequired. Unique key that makes creation safe to retry — resending the same key replays the original result. UUID recommended.
Request Body
application/json
namestringrequiredEvent name
slugstringURL slug. Optional — omit to derive from the name. Sanitized server-side.
typeenum<string>requiredEvent type
Available options: race,runClub,timeTrial,other
datestringrequiredEvent date (YYYY-MM-DD)
endDatestringEnd date for multi-day events (YYYY-MM-DD)
startTimestringStart time (HH:MM or HH:MM:SS)
endTimestringEnd time (HH:MM or HH:MM:SS)
addressobjectEvent location
latnumberLatitude
lngnumberLongitude
descriptionstringEvent description
websiteUrlstringEvent website URL
registrationUrlstringRegistration page URL
Authorization
write:events