1. RunSignup
  2. API
  3. Methods
  4. Create or Edit Race Corrals

Create or Edit Race Corrals

Use this API to create or edit corrals for a race event day. Corrals with a race_corral_id will be treated as an edit. Otherwise, a new corral will be created. The request format is below.

Request Format

{
	"race_corrals": [
		{
			"race_corral_id": 456,
			"corral_name": "Corral edit",
			"corral_start_desc": "8:00am",
			"corral_desc": "8:00am start corral",
			"applicable_event_ids": [123]
		},
		{
			"race_corral_id": null,
			"corral_name": "Corral add",
			"corral_start_desc": "8:05am",
			"corral_desc": "8:05am start corral",
			"applicable_event_ids": [123]
		}
	]
}

Response Format

{
	"race_corral_ids": [456, 457]
}

URL

https://runsignup.com/rest/v2/corrals/manage-corrals.json

HTTP Method

POST

Standard Parameters

Parameter HTTP Method Default Description Datatype
api_key GET API Key string
api_secret GET API Secret string
tmp_key GET Temporary API Key from login API call. This should NOT be used in combination with API Key. string
tmp_secret GET Temporary API Secret from login API call. This should NOT be used in combination with 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

Parameters

Parameter HTTP Method Default Description Datatype
race_id
Required
GET Race ID. uint
race_event_days_id
Required
GET Race event days ID. uint
request
Required
POST JSON containing request data. string

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.