1. RunSignup
  2. API
  3. Methods
  4. Get Race Volunteer Questions

Get Race Volunteer Questions

Get the volunteer questions for a race.

Question Data

Each question has the following fields:

  • question_id - Question ID
  • question - Question text
  • question_type - Question type as human readable string
  • question_type_code - Question type code:
    • F: Freeform
    • B: Boolean (T/F)
    • S: Select box list of predefined responses.
    • R: Radio buttons of predefined responses.
    • C: Checkboxes of predefined responses (Allows multiple selection).
    • T: Time input.
    • A: Text box.
  • validation_type:
    • none: No validation.
    • phone: Validation for a phone number.
    • char_limit: Response cannot exceed the set character limit.
    • email: Validation for an email address.
    • float: Validates a floating point decimal number.
    • uint: Validates an unsigned integer.
    • int: Validates a signed integer.
    • date: Validates a date.
    • allowed_values: Ensures the response is found in a set of allowed responses.
    • url: Validation for a URL.
  • deleted - T/F
  • required - T/F
  • task_specific - T/F
  • internal_question - T/F

Response Format


		{
			"questions": [
				{
					"question_id": 15,
					"question": "Do you like cats?",
					"question_type": "B",
					"validation_type": "none",
					"deleted": "F",
					"required": "F",
					"task_specific": "F",
					"internal_question": "F"
				},
				{
					"question_id": 16,
					"question": "What is your shirt size?",
					"question_type": "R",
					"validation_type": "none",
					"deleted": "F",
					"required": "T"
					"task_specific": "F",
					"internal_question": "F"
				},
				{
					"question_id": 17,
					"question": "Which of these colors do you enjoy?",
					"question_type": "C",
					"validation_type": "none",
					"deleted": "F",
					"required": "T"
					"task_specific": "F",
					"internal_question": "F",
					"responses": [
						{
							"response_id": 24,
							"question_id": 19,
							"response": "Red",
							"deleted": "F"
						},
						{
							"response_id": 25,
							"question_id": 19,
							"response": "Green",
							"deleted": "F"
						},
						{
							"response_id": 26,
							"question_id": 19,
							"response": "Blue",
							"deleted": "F"
						},
						{
							"response_id": 27,
							"question_id": 19,
							"response": "Yellow",
							"deleted": "F"
						}
					]
				},
			]
		}
	

URL

https://api.runsignup.com/rest/v2/volunteers/get-race-volunteer-questions.json

HTTP Method

GET

API Caller Identification

Parameter HTTP Method Default Description Datatype
rsu_api_reg GET API caller token. If used, you must send the API caller password in an HTTP header named X-RSU-API-REG-SECRET. string
X-RSU-API-REG-SECRET HTTP Header API caller password. string

Standard Parameters

Parameter HTTP Method Default Description Datatype
rsu_api_reg GET API caller token. If used, you must send the API caller password in an HTTP header named X-RSU-API-REG-SECRET. string
X-RSU-API-REG-SECRET HTTP Header API caller password. string
api_key GET API Key string
api_secret GET API Secret string
rsu_api_key GET API v2 key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
sp_api_key GET Super partner API key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
X-RSU-API-SECRET HTTP Header API v2 or super partner secret. string
Authorization HTTP Header Authorization Header. If using OAuth 2.0, fill this in with `Bearer <token>`. string

Parameters

Parameter HTTP Method Default Description Datatype
race_id
Required
GET Race ID. uint
include_deleted_questions GET F Should deleted questions be included? bool
include_deleted_canned_responses GET F Should deleted canned responses be included? bool

If you continue to use this site, you consent to use all cookies. We use cookies to offer you a better browsing experience. Read how we use cookies and how you can control them by visiting our Privacy Policy.

If you continue to use this site, you consent to use all cookies.