Club scenarios
All examples use an organization key ak_… (how to issue) and these variables:
KEY=ak_… # organization keyH=https://api.ruunso.comORG=<orgId> # organization id from the account URLRepeat writes (POST, PUT, DELETE) only with an Idempotency-Key header (limits and retries).
Roster (roster)
# Roster list, search by name and a paging cursorcurl -H "Authorization: Bearer $KEY" "$H/v1/orgs/$ORG/roster?q=Ivan&limit=50"
# Add an athlete to the rostercurl -X POST -H "Authorization: Bearer $KEY" -H "Idempotency-Key: $(uuidgen)" \ -H 'Content-Type: application/json' -d '{"athleteId":"<athleteId>"}' $H/v1/orgs/$ORG/rosterRequests to join the club: GET /v1/orgs/{id}/join-requests and the accept / reject actions.
Roster entries to an event (club_entries)
# What an entry needs: starts, classes, prices, consentscurl -H "Authorization: Bearer $KEY" $H/v1/events/<eventId>/entry-context
# Enter club athletes (from your own roster only)curl -X POST -H "Authorization: Bearer $KEY" -H "Idempotency-Key: $(uuidgen)" \ -H 'Content-Type: application/json' \ -d '{"items":[{"athleteId":"<athleteId>","raceId":1,"classId":2,"clubOrgId":"<orgId>"}]}' \ $H/v1/events/<eventId>/entries
# Unpaid club entries for a paid startcurl -H "Authorization: Bearer $KEY" "$H/v1/events/<eventId>/club-entries?org=$ORG"On a paid start an entry creates an unpaid order. Payment happens only in the organization’s account area: the API takes no money.
Passes (passes)
# Club passescurl -H "Authorization: Bearer $KEY" $H/v1/orgs/$ORG/passes
# Pass plans of the club: GET and POST /v1/orgs/{id}/pass-plans
# Freeze for 14 dayscurl -X POST -H "Authorization: Bearer $KEY" -H "Idempotency-Key: $(uuidgen)" \ -H 'Content-Type: application/json' -d '{"days":14}' $H/v1/passes/<passId>/freeze
# Debts: passes in debt and unpaid drop-in visitscurl -H "Authorization: Bearer $KEY" $H/v1/orgs/$ORG/club-debtsUnfreeze is POST /v1/passes/{passId}/unfreeze, auto-renewal is PUT /v1/passes/{passId}/auto-renew.
Classes and attendance (attendance)
# Classes of the weekcurl -H "Authorization: Bearer $KEY" "$H/v1/orgs/$ORG/club-sessions?from=2026-11-02&to=2026-11-08"
# Mark an athlete: present, absent or excusedcurl -X PUT -H "Authorization: Bearer $KEY" -H "Idempotency-Key: $(uuidgen)" \ -H 'Content-Type: application/json' -d '{"status":"present"}' \ $H/v1/orgs/$ORG/club-sessions/<sessionId>/attendance/<athleteId>The marks of a class: GET /v1/orgs/{id}/club-sessions/{sessionId}/attendance; an athlete’s visit history: GET /v1/athletes/{id}/club-visits. The full list of operations is in the reference.