openapi: "3.1.0" info: title: Software API version: "1" description: | API for timing and event management software partners to integrate with event, participant, result, and club data. On Race Entry this API is used by Agee Race Timing and Laurel Timing. For RACE RESULT, RunScore, RaceDay Scoring, and The Race Director, see the [Timer API](/documentation/timerapi/index). New integrations should consider the [REST API](/restapi/v1/docs) and [Webhooks](/restapi/v1/docs/webhooks). ## Authentication Call [`POST /login`](#/Authentication/login) first. It returns a `tmp_key` / `tmp_secret` pair which must be sent as query parameters on every other request. Credentials expire 48 hours after they are issued. Each authenticated request extends the expiration another 48 hours, so a frequent API user will rarely need to log in again. Expired credentials return a `403` response. Logging in again invalidates the previous pair. The `tmp_key` is hashed on our side, so save it with the user before discarding the login response. ## Responses All responses are JSON. Errors are returned in a `message` property: ```json { "message": "The details of the error message" } ``` Endpoints that list data only return records the authenticated user has permission to access. servers: - url: https://www.raceentry.com/softwareapi description: Race Entry - url: https://www.rodeoticket.com/softwareapi description: Rodeo Ticket - url: https://www.strideevents.com/softwareapi description: Stride Events - url: https://demo.raceentry.com/softwareapi description: Race Entry Test - url: https://demo.rodeoticket.com/softwareapi description: Rodeo Ticket Test - url: https://demo.strideevents.com/softwareapi description: Stride Events Test security: - tmp_key: [] tmp_secret: [] paths: # ─── Authentication ────────────────────────────────────────────────────────── /login: post: operationId: login summary: Log in an API user description: | Returns a temporary key/secret pair for an existing user, valid for 2 days. Subsequent calls invalidate the previous key/secret pair and return a new pair. tags: [Authentication] security: [] requestBody: required: true content: application/x-www-form-urlencoded: schema: type: object required: [email, password] properties: email: type: string format: email password: type: string format: password responses: "200": description: | Login result. A failed login also returns `200`, with null credentials and a `message`. content: application/json: schema: $ref: "#/components/schemas/LoginResponse" examples: success: summary: Success value: tmp_key: KEY_HASH tmp_secret: SECRET_HASH user: user: first_name: John last_name: Doe failure: summary: Failure value: tmp_key: null tmp_secret: null message: E-mail and Password Don't Match /user/create: post: operationId: createUser summary: Create an API user description: | Creates a new user and returns a temporary key/secret pair for them, valid for 2 days. Only authorized API partners (timers) can use this endpoint, with a partner key and secret provided by support. It cannot create new API partners. tags: [Authentication] requestBody: required: true content: application/x-www-form-urlencoded: schema: type: object required: [first_name, last_name, organization, phone, email, password] properties: first_name: type: string maxLength: 32 last_name: type: string maxLength: 32 organization: type: string maxLength: 48 phone: type: string maxLength: 30 email: type: string format: email maxLength: 120 password: type: string format: password maxLength: 32 responses: "200": description: | User creation result. A failure also returns `200`, with a `message`. content: application/json: schema: oneOf: - type: object required: [tmp_key, tmp_secret] properties: tmp_key: type: string tmp_secret: type: string user: type: object properties: first_name: type: string last_name: type: string - $ref: "#/components/schemas/Message" examples: success: summary: Success value: tmp_key: KEY_HASH tmp_secret: SECRET_HASH user: first_name: John last_name: Doe failure: summary: Failure value: message: Failed to create the user or user already exists "403": $ref: "#/components/responses/Forbidden" # ─── Event creation ────────────────────────────────────────────────────────── /event/get_create_data: get: operationId: getEventCreateData summary: Get event creation data description: Returns the event type, timezone, and state IDs needed by `/event/create` and `/event/copy`. tags: [Event Creation] responses: "200": description: Event creation lookup data content: application/json: schema: type: object properties: event_types: type: array items: $ref: "#/components/schemas/IdName" timezones: type: array items: $ref: "#/components/schemas/IdName" states: type: array items: type: object properties: id: type: string abbr: type: string name: type: string selected: type: string example: event_types: - { id: "1", name: Running/Walking } - { id: "2", name: Biking } - { id: "3", name: Triathlon } - { id: "4", name: Duathlon } - { id: "6", name: Virtual Event } - { id: "7", name: OCR } - { id: "10", name: Other } timezones: - { id: "1", name: America/Denver } - { id: "2", name: America/New_York } - { id: "3", name: America/Chicago } - { id: "4", name: America/Phoenix } - { id: "5", name: America/Los_Angeles } - { id: "6", name: America/Anchorage } - { id: "7", name: Pacific/Honolulu } states: - { id: "1", abbr: AL, name: Alabama, selected: "0" } - { id: "2", abbr: AK, name: Alaska, selected: "0" } - { id: "3", abbr: AZ, name: Arizona, selected: "0" } "403": $ref: "#/components/responses/Forbidden" /event/create: post: operationId: createEvent summary: Create an event description: | Creates a new event as a calendar listing. Registration, ticketing, payee information, and other configuration must be set up on the website. Use [`/event/get_create_data`](#/Event%20Creation/getEventCreateData) to look up IDs for event types, timezones, and states. tags: [Event Creation] requestBody: required: true content: application/x-www-form-urlencoded: schema: allOf: - type: object required: ["event[event-name]"] properties: "event[event-name]": type: string minLength: 4 maxLength: 128 - $ref: "#/components/schemas/EventFields" responses: "200": $ref: "#/components/responses/EventCreated" "400": description: Validation failed. Errors are keyed by object and field. content: application/json: schema: type: object additionalProperties: type: object additionalProperties: type: string example: event: name: An event with this name already exists. Please change your event name to make it unique. You could add a location, number, organization name, etc. to make it unique. url: An event is already using this URL. If this is your event, you can claim it here "403": $ref: "#/components/responses/Forbidden" "500": description: Server error content: application/json: schema: $ref: "#/components/schemas/Message" example: message: The event could not be created - internal error. Please contact support /event/copy: post: operationId: copyEvent summary: Copy an event to a new year description: | Events have multiple event years. A recurring event with the same name is an existing event that needs a new event year for each year it occurs. Use this endpoint to create the new event year. Categories, products, and volunteer information are not copied and should be re-added on the website. tags: [Event Creation] requestBody: required: true content: application/x-www-form-urlencoded: schema: allOf: - type: object required: [event_id_to_copy] properties: event_id_to_copy: type: integer description: Event year ID to copy - $ref: "#/components/schemas/EventFields" responses: "200": $ref: "#/components/responses/EventCreated" "400": description: Validation failed. Errors are keyed by object and field. content: application/json: schema: type: object additionalProperties: type: object additionalProperties: type: string example: event_year: year: This year has already been created for your event. Please enter a different year or find the existing year in your list of events "403": $ref: "#/components/responses/Forbidden" "500": description: Server error content: application/json: schema: $ref: "#/components/schemas/Message" example: message: The event could not be copied - internal error. Please contact support # ─── Event information ─────────────────────────────────────────────────────── /get_events: get: operationId: getEvents summary: List events tags: [Event Information] parameters: - $ref: "#/components/parameters/results_per_page" - $ref: "#/components/parameters/page_number" responses: "200": description: List of events content: application/json: schema: type: array items: $ref: "#/components/schemas/Event" "403": $ref: "#/components/responses/Forbidden" /get_event_categories: get: operationId: getEventCategories summary: List event categories description: | A category is a sub-event such as a Marathon, 10K, or 5K. tags: [Event Information] parameters: - $ref: "#/components/parameters/event_id" - $ref: "#/components/parameters/results_per_page" - $ref: "#/components/parameters/page_number" responses: "200": description: List of categories content: application/json: schema: type: array items: $ref: "#/components/schemas/Category" "400": $ref: "#/components/responses/EventIdRequired" "403": $ref: "#/components/responses/Forbidden" /get_event_questions: get: operationId: getEventQuestions summary: List registration questions description: | Returns the registration questions for an event. Questions with selectable options include an array of option IDs and text. | Question type | Description | |---|---| | Single Line Text | Free-form responses up to 256 characters | | MultiLine Text | Responses longer than 256 characters | | Dropdown | Select from a dropdown list of options | | Radio | Select from options with radio buttons | | Checkbox | Select multiple checkboxes | | Pace | Enter a time | | Runner Editable Dropdown | Participants can add choices to the dropdown | tags: [Event Information] parameters: - $ref: "#/components/parameters/event_id" - name: get_disabled in: query description: | - `no`: only enabled questions (default) - `yes`: only disabled questions - `all`: enabled and disabled questions When `yes` or `all`, each question includes an `enabled` property. schema: type: string enum: ["no", "yes", all] default: "no" - $ref: "#/components/parameters/results_per_page" - $ref: "#/components/parameters/page_number" responses: "200": description: List of questions content: application/json: schema: type: array items: $ref: "#/components/schemas/Question" "400": $ref: "#/components/responses/EventIdRequired" "403": $ref: "#/components/responses/Forbidden" /get_event_participants: get: operationId: getEventParticipants summary: List participants tags: [Event Information] parameters: - $ref: "#/components/parameters/event_id" - name: category_id in: query description: Only return participants in this category schema: type: integer - name: participant_id in: query description: Only return this participant schema: type: integer - name: has_bib in: query description: | - `all`: all participants (default) - `yes`: only participants with an assigned bib number - `no`: only participants without a bib number schema: type: string enum: [all, "yes", "no"] default: all - name: checked_in in: query description: | - `all`: all participants (default) - `yes`: only checked-in participants - `no`: only participants who have not checked in schema: type: string enum: [all, "yes", "no"] default: all - name: get_responses in: query description: | - `no`: no registration question responses (default) - `yes`: include responses to enabled questions - `all`: include responses to enabled and disabled questions, with an `enabled` property on each response schema: type: string enum: ["no", "yes", all] default: "no" - name: get_purchases in: query description: Include product purchases schema: type: string enum: ["no", "yes"] default: "no" - name: include_usat in: query description: Include USAT membership details, on sites where USAT memberships are available schema: type: string enum: ["no", "yes"] default: "no" - name: modified_after in: query description: Only return participants modified after this time (`YYYY-MM-DD HH:MM:SS`) schema: type: string example: "2019-01-01 00:00:00" - $ref: "#/components/parameters/results_per_page" - $ref: "#/components/parameters/page_number" responses: "200": description: List of participants content: application/json: schema: type: array items: $ref: "#/components/schemas/Participant" "400": $ref: "#/components/responses/EventIdRequired" "403": $ref: "#/components/responses/Forbidden" /removed_event_participants: get: operationId: getRemovedEventParticipants summary: List deleted, transferred, or deferred participants description: | Same response format and filters as `/get_event_participants`, but returns participants who have been deleted, transferred out, or deferred instead of active participants. tags: [Event Information] parameters: - $ref: "#/components/parameters/event_id" - name: category_id in: query description: Only return participants in this category schema: type: integer - name: participant_id in: query description: Only return this participant schema: type: integer - name: has_bib in: query description: | - `all`: all participants (default) - `yes`: only participants with an assigned bib number - `no`: only participants without a bib number schema: type: string enum: [all, "yes", "no"] default: all - name: checked_in in: query description: | - `all`: all participants (default) - `yes`: only checked-in participants - `no`: only participants who have not checked in schema: type: string enum: [all, "yes", "no"] default: all - name: get_responses in: query description: | - `no`: no registration question responses (default) - `yes`: include responses to enabled questions - `all`: include responses to enabled and disabled questions, with an `enabled` property on each response schema: type: string enum: ["no", "yes", all] default: "no" - name: get_purchases in: query description: Include product purchases schema: type: string enum: ["no", "yes"] default: "no" - name: include_usat in: query description: Include USAT membership details, on sites where USAT memberships are available schema: type: string enum: ["no", "yes"] default: "no" - name: modified_after in: query description: Only return participants modified after this time (`YYYY-MM-DD HH:MM:SS`) schema: type: string example: "2019-01-01 00:00:00" - $ref: "#/components/parameters/results_per_page" - $ref: "#/components/parameters/page_number" responses: "200": description: List of deleted, transferred out, or deferred participants content: application/json: schema: type: array items: $ref: "#/components/schemas/Participant" "400": $ref: "#/components/responses/EventIdRequired" "403": $ref: "#/components/responses/Forbidden" /update_event_participant: post: operationId: updateEventParticipant summary: Update a participant description: | Updates only the fields included in the request, and returns the updated participant. Validation and access errors return a `message` object keyed by the field that failed. tags: [Event Information] parameters: - $ref: "#/components/parameters/event_id" requestBody: required: true content: application/x-www-form-urlencoded: schema: type: object required: [participant_id] properties: participant_id: type: integer category_id: type: integer team_id: type: integer first_name: type: string last_name: type: string email: type: string address: type: string city: type: string bib_num: type: string province: type: string state: type: string zipcode: type: string dob: type: string gender: type: string phone: type: string mobile_sms_phone: type: string responses: type: string description: | JSON-encoded array of response objects. Only responses included are modified. | Field | Create | Update | Delete | |---|---|---|---| | `id` | no | yes | yes | | `qid` | yes | no | no | | `qoid` | yes | yes | no | | `ans` | yes | yes | no | | `delete` | | | `"yes"` | `ans` is only required when the question has no `qoid`. example: '[{"id":1476,"qid":861,"qoid":"","ans":"Jordan Runner"},{"qid":872,"qoid":"","ans":"Billboard"},{"id":1477,"delete":"yes"}]' responses: "200": description: Updated participant content: application/json: schema: $ref: "#/components/schemas/Participant" "400": description: Validation failed content: application/json: schema: $ref: "#/components/schemas/FieldMessage" example: message: team_id: participant's team is not part of category "403": description: Permission denied content: application/json: schema: $ref: "#/components/schemas/FieldMessage" example: message: participant_id: permission denied "500": description: Server error content: application/json: schema: $ref: "#/components/schemas/Message" example: message: Internal Error - could not save participant /get_event_teams: get: operationId: getEventTeams summary: List teams by category description: | Returns an object keyed by category ID, each with an array of teams. Event-wide teams (across categories) are under an empty category ID. tags: [Event Information] parameters: - $ref: "#/components/parameters/event_id" - $ref: "#/components/parameters/results_per_page" - $ref: "#/components/parameters/page_number" responses: "200": description: Teams keyed by category ID content: application/json: schema: type: object additionalProperties: type: array items: $ref: "#/components/schemas/Team" "400": $ref: "#/components/responses/EventIdRequired" "403": $ref: "#/components/responses/Forbidden" /get_category_teams: get: operationId: getCategoryTeams summary: List teams in a category description: Event-wide teams (across categories) are not included. tags: [Event Information] parameters: - name: category_id in: query required: true schema: type: integer - $ref: "#/components/parameters/results_per_page" - $ref: "#/components/parameters/page_number" responses: "200": description: List of teams content: application/json: schema: type: array items: $ref: "#/components/schemas/Team" "400": description: Missing category ID content: application/json: schema: $ref: "#/components/schemas/Message" example: message: Category ID required "403": $ref: "#/components/responses/Forbidden" /get_event_pin: get: operationId: getEventPin summary: Get the Check In app PIN description: Returns the Check In app access PIN for an event, its expiration, and whether access is enabled. tags: [Check In App] parameters: - $ref: "#/components/parameters/event_id" responses: "200": $ref: "#/components/responses/Pin" "400": $ref: "#/components/responses/EventIdRequired" "403": $ref: "#/components/responses/Forbidden" /set_event_pin: post: operationId: setEventPin summary: Set the Check In app PIN tags: [Check In App] parameters: - $ref: "#/components/parameters/event_id" requestBody: required: true content: application/x-www-form-urlencoded: schema: type: object required: [pin] properties: pin: type: string pattern: "^[0-9]{4,8}$" description: 4 to 8 digits example: "1234" responses: "200": $ref: "#/components/responses/Pin" "400": description: Missing or invalid parameters content: application/json: schema: $ref: "#/components/schemas/Message" example: message: PIN must be between 4 and 8 characters and can only contain numbers "403": $ref: "#/components/responses/Forbidden" "500": $ref: "#/components/responses/ServerError" /set_event_app_access: post: operationId: setEventAppAccess summary: Enable or disable Check In app access description: Enables or disables the event's Check In app PIN, if one exists. tags: [Check In App] parameters: - $ref: "#/components/parameters/event_id" requestBody: required: true content: application/x-www-form-urlencoded: schema: type: object required: [enabled] properties: enabled: type: integer enum: [1, 0] description: "`1` enables the PIN, `0` disables it" responses: "200": $ref: "#/components/responses/Pin" "400": description: Missing parameters content: application/json: schema: $ref: "#/components/schemas/Message" example: message: "'enabled' POST parameter required" "403": $ref: "#/components/responses/Forbidden" "500": $ref: "#/components/responses/ServerError" # ─── Results ───────────────────────────────────────────────────────────────── /result/edit: post: operationId: editResult summary: Edit a result description: Edits the result identified by `result_info` with the values in `new_values`. tags: [Results] requestBody: required: true content: application/x-www-form-urlencoded: schema: type: object required: [result_info, new_values] properties: result_info: $ref: "#/components/schemas/ResultInfo" new_values: $ref: "#/components/schemas/ResultNewValues" responses: "200": description: Result edited content: application/json: schema: $ref: "#/components/schemas/Message" example: message: Result edited "400": $ref: "#/components/responses/BadRequest" "403": $ref: "#/components/responses/Forbidden" "500": $ref: "#/components/responses/ServerError" /result/delete: post: operationId: deleteResult summary: Delete a result description: Deletes the result identified by `result_info`. tags: [Results] requestBody: required: true content: application/x-www-form-urlencoded: schema: type: object required: [result_info] properties: result_info: $ref: "#/components/schemas/ResultInfo" responses: "200": description: Result deleted content: application/json: schema: $ref: "#/components/schemas/Message" example: message: Result deleted "400": $ref: "#/components/responses/BadRequest" "403": $ref: "#/components/responses/Forbidden" "500": $ref: "#/components/responses/ServerError" /upload/results: post: operationId: uploadResults summary: Upload results description: | Uploads results in GRU format: a JSON-encoded array of arrays where the first row is the header and the following rows are result data. | Header | Data | Format | Required | |---|---|---|---| | `whole_name` | Full name | string (64) | If `first_name` and `last_name` are not provided | | `first_name` | First name | string (32) | If `whole_name` is not provided | | `last_name` | Last name | string (32) | If `whole_name` is not provided | | `gun_time` | Finish time from gun | `hh:mm:ss.ss` or `hh:mm:ss` | If `chip_time` is not provided | | `chip_time` | Finish time from chip | `hh:mm:ss.ss` or `hh:mm:ss` | If `gun_time` is not provided | | `age_group` | Age group | string (32) | No | | `age_group_place` | Place in age group | int | If `overall_place` and `gender_place` are not provided | | `bib_number` | Bib number | int | Yes | | `overall_place` | Overall place | int | If `gender_place` and `age_group_place` are not provided | | `pace` | Overall pace | `hh:mm:ss.ss` or `hh:mm:ss` | No | | `category` | Category (marathon, half, 10K, etc.) | string (32) | Yes | | `gender` | Gender | char (1) | No | | `gender_place` | Place by gender | int | If `overall_place` and `age_group_place` are not provided | | `city` | City | string (64) | No | | `state` | State | string (64) | No | | `country` | Country | string (48) | No | | `age` | Age | int | No | | `age_division` | Age group | string (32) | No | The first 6 unrecognized headers are saved as custom fields and displayed with the results. The first custom field allows up to 256 characters and is shown as a link if its value starts with `http://` or `https://`. The other custom fields allow up to 32 characters. tags: [Results] requestBody: required: true content: application/x-www-form-urlencoded: schema: type: object required: [event_id, results] properties: event_id: type: integer description: Event year ID append: type: integer enum: [0, 1] description: "`1` appends to existing results, `0` replaces them" results: type: string description: JSON-encoded array of GRU rows, with the header row first example: '[["first_name","last_name","category","bib_number","overall_place","chip_time","Split Time 1"],["John","Doe","Marathon","2301","43","3:57:32.3","1:43:12.0"],["Jane","Doe","Marathon","2432","315","4:15:12.8","2:17:54.9"]]' responses: "200": description: Results uploaded content: application/json: schema: $ref: "#/components/schemas/Message" example: message: Results uploaded "400": $ref: "#/components/responses/BadRequest" "403": $ref: "#/components/responses/Forbidden" "500": $ref: "#/components/responses/ServerError" # ─── Clubs ─────────────────────────────────────────────────────────────────── /memberships/get-clubs: get: operationId: getClubs summary: List clubs description: Returns the clubs on this site that the user has permissions for, directly or through a company. tags: [Clubs] responses: "200": description: List of clubs content: application/json: schema: type: array items: $ref: "#/components/schemas/Club" "403": $ref: "#/components/responses/Forbidden" /memberships/get-members: get: operationId: getClubMembers summary: List club members description: Requires Sales Rep, Director, or Memberships permission for the club, or Attendees or Participants permission through a company that owns the club. tags: [Clubs] parameters: - name: club_id in: query required: true schema: type: integer - name: active_status in: query description: Only return members with this status schema: type: string enum: [Enabled, Disabled, Grandfathered, Until Expiration] - name: status_id in: query description: Only return members with this status ID. Ignored when `active_status` is provided. schema: type: integer - name: start_date in: query description: Only return members whose memberships expire after this date (`YYYY-MM-DD`) schema: type: string format: date - name: end_date in: query description: Only return members whose memberships expire before this date (`YYYY-MM-DD`) schema: type: string format: date responses: "200": description: List of club members content: application/json: schema: type: array items: $ref: "#/components/schemas/ClubMember" "400": description: Missing or invalid parameters content: application/json: schema: $ref: "#/components/schemas/Message" example: message: Club ID required "403": $ref: "#/components/responses/Forbidden" # ─── Components ──────────────────────────────────────────────────────────────── components: securitySchemes: tmp_key: type: apiKey in: query name: tmp_key description: Temporary key returned by `/login` tmp_secret: type: apiKey in: query name: tmp_secret description: Temporary secret returned by `/login` parameters: event_id: name: event_id in: query required: true description: Event year ID schema: type: integer example: 12345 results_per_page: name: results_per_page in: query description: Number of records to return. Requires `page_number`. schema: type: integer minimum: 1 page_number: name: page_number in: query description: 1-based page number. Requires `results_per_page`. schema: type: integer minimum: 1 responses: BadRequest: description: Invalid request content: application/json: schema: $ref: "#/components/schemas/Message" example: message: Error message details EventIdRequired: description: Missing event ID content: application/json: schema: $ref: "#/components/schemas/Message" example: message: Event ID required Forbidden: description: Invalid or expired credentials, or no access to the requested data content: application/json: schema: $ref: "#/components/schemas/Message" examples: denied: summary: Access denied value: message: Access Denied expired: summary: Expired credentials value: message: User Token Expired ServerError: description: Server error content: application/json: schema: $ref: "#/components/schemas/Message" example: message: Error message details EventCreated: description: Event created content: application/json: schema: type: object properties: success: type: boolean url: type: string description: Event URL slug year: type: string example: success: true url: fake-api-event year: "2020" Pin: description: | Check In app PIN. If the event has no PIN, `200` is returned with the message `No PIN found for this event`. content: application/json: schema: oneOf: - $ref: "#/components/schemas/Pin" - $ref: "#/components/schemas/Message" examples: pin: summary: PIN value: pin: "1234" expiration: "2019-08-10 23:59:59" access: enabled no_pin: summary: No PIN value: message: No PIN found for this event schemas: Message: type: object required: [message] properties: message: type: string example: The details of the error message FieldMessage: type: object required: [message] properties: message: type: object description: Error messages keyed by field name additionalProperties: type: string LoginResponse: type: object properties: tmp_key: type: [string, "null"] description: Save this with the user. It is hashed on our side and cannot be retrieved again. tmp_secret: type: [string, "null"] user: type: object properties: user: type: object properties: first_name: type: string last_name: type: string message: type: string description: Present when login fails IdName: type: object properties: id: type: string name: type: string EventFields: type: object required: - "event[event-dom-timezone-id]" - "event[event-description]" - "event[event-external-url]" - "event[event-type-id]" - "event[contact-first-name]" - "event[contact-last-name]" - "event[contact-email]" - "eventYear[event-year-address]" - "eventYear[event-year-city]" - "eventYear[event-year-state]" - "eventYear[event-year-zipcode]" - "eventYear[event-year-datetime]" - "eventYear[terms-initials]" properties: "event[event-dom-timezone-id]": type: integer enum: [1, 2, 3, 4, 5, 6, 7] description: Timezone ID from `/event/get_create_data` "event[event-description]": type: string minLength: 4 "event[event-external-url]": type: string maxLength: 256 "event[event-type-id]": type: integer enum: [1, 2, 3, 4, 5, 6, 7, 10] description: Event type ID from `/event/get_create_data` "event[contact-first-name]": type: string maxLength: 32 "event[contact-last-name]": type: string maxLength: 32 "event[contact-email]": type: string format: email maxLength: 255 "eventYear[event-year-address]": type: string maxLength: 64 "eventYear[event-year-city]": type: string maxLength: 32 description: Must match the zip code "eventYear[event-year-state]": type: integer minimum: 1 maximum: 60 description: State ID from `/event/get_create_data` "eventYear[event-year-country]": type: string enum: [USA] description: Only `USA` is supported "eventYear[event-year-zipcode]": type: string minLength: 3 maxLength: 10 "eventYear[event-year-datetime]": type: string description: "`mm/dd/YYYY HH:mm`" example: "06/12/2026 08:00" "eventYear[terms-initials]": type: string minLength: 2 maxLength: 4 Event: type: object properties: event_id: type: string example: "12345" name: type: string example: Jane's Demo Event event_type: type: string example: Running/Walking event_logo: type: [string, "null"] example: https://cfimages.raceentry.com/logo/janes-demo-event-registration-logo-12345.png?v=123456789 url: type: string example: janes-demo-event description: type: string description: HTML description example: "
This is a demo description returned as HTML.
" last_modified: type: string example: "2019-06-05 13:31:32" contact_first_name: type: string example: Jane contact_last_name: type: string example: Director contact_email: type: string example: janedirector@fakeevent.com event_date: type: string example: "2019-06-12 11:00:00" street: type: string example: 100 W 200 N city: type: string example: Provo state: type: string example: Utah province: type: [string, "null"] example: null country: type: string example: USA zipcode: type: string example: "84604" Category: type: object properties: category_id: type: string example: "123" category_name: type: string example: Marathon category_details: type: [string, "null"] example: This is the main marathon category for this event distance: type: string example: "26.2000" distance_units: type: string example: Mi participant_cap: type: string description: Participant limit, or `unlimited` example: "2500" Question: type: object properties: question_id: type: string example: "860" question_text: type: string example: T-Shirt Size question_type: type: string example: Dropdown options: type: [array, "null"] items: type: object properties: id: type: string example: "4658" text: type: string example: S enabled: type: string enum: ["true", "false"] description: Only present when `get_disabled` is `yes` or `all` Participant: type: object properties: participant_id: type: string example: "10101" category_id: type: string example: "125" category_name: type: string example: Half Marathon team_id: type: [string, "null"] example: null first_name: type: string example: Bob last_name: type: string example: Person email: type: string example: bperson@somedomain.com address: type: string example: 100 N 200 E city: type: string example: Provo bib_num: type: [string, "null"] example: "123" price: type: string example: "12.34" discount: type: string example: "1.23" promo_code: type: [string, "null"] example: discount10 province: type: [string, "null"] example: null state: type: string example: Utah zipcode: type: string example: "84604" dob: type: string example: "1989-07-07" gender: type: string example: M registration_date: type: string example: "2019-01-04 12:49:39" last_modified: type: string example: "2019-01-04 12:49:39" phone: type: string example: "8015554214" mobile_sms_phone: type: [string, "null"] example: "8015554214" checked_in: type: string enum: ["yes", "no"] usat_member_id: type: integer description: Only present when `include_usat` is `yes` example: 123123 usat_membership_name: type: string description: Only present when `include_usat` is `yes` example: "Bronze Membership: Single Race Access" responses: type: array description: Only present when `get_responses` is `yes` or `all` items: $ref: "#/components/schemas/Response" purchases: type: array description: Only present when `get_purchases` is `yes` items: $ref: "#/components/schemas/Purchase" Response: type: object properties: id: type: string description: Response ID example: "1370" qid: type: string description: Question ID example: "860" q: type: string description: Question text example: T-Shirt Size qoid: type: string description: Selected question option ID, or empty for free-form questions example: "19923" ans: type: string example: Large enabled: type: string enum: ["true", "false"] description: Only present when `get_responses` is `all` Purchase: type: object properties: name: type: string example: T-Shirt option: type: string example: Large quantity: type: integer example: 2 fulfillment_status: type: string example: pending Team: type: object properties: team_id: type: string example: "111" team_name: type: string example: Tate's Tater Tots captain_reg_id: type: string example: "10103" captain_name: type: string example: Isaiah Bespoken captain_email: type: string example: isaiah_besp@email.com password_required: type: string enum: ["0", "1"] password: type: [string, "null"] example: Allegiant category_id: type: string example: "126" Pin: type: object properties: pin: type: string example: "1234" expiration: type: string example: "2019-08-10 23:59:59" access: type: string enum: [enabled, disabled] ResultInfo: type: string description: | JSON-encoded object identifying the result. If `id` is provided, no other fields are required. Otherwise all fields except `bib_number` are required. | Field | Value | |---|---| | `id` | Result ID | | `name` | Whole name recorded in the result | | `bib_number` | Bib number recorded in the result | | `event_id` | Event ID the result belongs to | | `year` | Year of the result's event (`YYYY`) | examples: - '{"id":11111}' - '{"name":"Jane Doe","event_id":12345,"year":2020}' ResultNewValues: type: string description: | JSON-encoded object of values to update. At least one of the fields below is required, and other fields are ignored. A field sent as an empty string is cleared. | Field | Format | Value | |---|---|---| | `bib_number` | int | Bib number | | `whole_name` | string | Whole name. Use this or `first_name` and `last_name`. | | `first_name` | string | First name, used with `last_name` | | `last_name` | string | Last name, used with `first_name` | | `city` | string | City | | `state` | string | State | | `country` | string | Country | | `gender` | char | Gender | | `age` | int | Age | | `gun_time` | `HH:MM:SS.ss` | Gun time | | `chip_time` | `HH:MM:SS.ss` | Chip time | | `overall_place` | int | Overall place | | `age_gender_division_place` | int | Place in the age and gender division | | `pace` | string | Pace | | `division` | string | Division | | `custom_1` … `custom_6` | string | Custom values | examples: - '{"whole_name":"John Doe"}' - '{"bib_number":55,"first_name":"Jane","last_name":"Doe","city":"","state":"Washington","country":"USA","gender":"F","age":36,"gun_time":"00:55:32.78","overall_place":12,"age_gender_division_place":5,"division":"Female 35 to 39","custom_2":"Pizza","custom_6":"Team Underdog"}' Club: type: object properties: id: type: string example: "12345" site_id: type: string example: "1" company_id: type: string example: "12345" payee_id: type: string example: "12345" tax_exempt: type: string example: "0" processor_id: type: string example: "12345" currency_id: type: string example: "123" disabled: type: string example: "0" name: type: string example: My Club url: type: string example: my-club external_url: type: string example: https://www.myclub.com/home description: type: string description: HTML description example: "This is my club's description
" membership_by_location: type: string example: "1" contact_first_name: type: string example: John contact_last_name: type: string example: Doe contact_email: type: string example: jdoe@notrealemail.com created_by: type: string example: "12345" created_date: type: string example: "2020-01-01 00:00:00" terms_initials: type: string example: jd ClubMember: type: object properties: id: type: string example: "12345" hash: type: string example: alkjsdfiknavio club_id: type: string example: "12345" group_id: type: string example: "12345" status_id: type: string example: "2" email: type: string example: jd@example.com first_name: type: string example: John last_name: type: string example: Doe address: type: string example: 1234 Fake Road city: type: string example: New York state_id: type: string example: "1" province: type: [string, "null"] example: null zip: type: string example: "12345" country_code: type: string example: USA phone: type: string example: "1234567890" birthdate: type: string example: "1970-01-01" gender: type: string example: M waiver_initials: type: string example: jd waiver_signature: type: string example: john doe last_modified: type: string example: "2020-01-01 00:00:00" subscription_id: type: string example: "12345" start_date: type: string example: "2020-01-01" expiration_date: type: string example: "2100-01-01" paid_member_count: type: string example: "100" tags: - name: Authentication description: Log in and create API users - name: Event Creation description: Create events and copy them to a new year - name: Event Information description: Events, categories, questions, participants, and teams - name: Check In App description: Check In app access PIN - name: Results description: Edit, delete, and upload results. Available on Race Entry and Stride Events. - name: Clubs description: Clubs and club members