Create an event
curl --request POST \
--url https://connect.laces.run/v1/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"name": "Saturday Park Run",
"timezone": "Africa/Kampala",
"starts_at": "2027-03-27T07:00:00",
"ends_at": "2027-03-27T10:00:00",
"venue": "Kololo Airstrip",
"visibility": "unlisted",
"partner_reference": "run-2027-03-27"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'Saturday Park Run',
timezone: 'Africa/Kampala',
starts_at: '2027-03-27T07:00:00',
ends_at: '2027-03-27T10:00:00',
venue: 'Kololo Airstrip',
visibility: 'unlisted',
partner_reference: 'run-2027-03-27'
})
};
fetch('https://connect.laces.run/v1/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://connect.laces.run/v1/events"
payload = {
"name": "Saturday Park Run",
"timezone": "Africa/Kampala",
"starts_at": "2027-03-27T07:00:00",
"ends_at": "2027-03-27T10:00:00",
"venue": "Kololo Airstrip",
"visibility": "unlisted",
"partner_reference": "run-2027-03-27"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://connect.laces.run/v1/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Saturday Park Run',
'timezone' => 'Africa/Kampala',
'starts_at' => '2027-03-27T07:00:00',
'ends_at' => '2027-03-27T10:00:00',
'venue' => 'Kololo Airstrip',
'visibility' => 'unlisted',
'partner_reference' => 'run-2027-03-27'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"code": 123,
"message": "Already created (idempotent replay)",
"data": {
"event_id": "q3Zk9mVx",
"name": "Kampala City 10K",
"handle": "kampala-city-10k",
"short_code": "K10",
"description": "<string>",
"cover": "<string>",
"event_type": "run",
"status": "draft",
"visibility": "public",
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"timezone": "Africa/Kampala",
"currency": "UGX",
"payments_enabled": true,
"registration_url": "<string>",
"registration_mode": "laces",
"created_via_api": true,
"organizer_name": "Kampala Road Runners",
"payment_methods": [
"momo",
"airtel"
],
"ticket_types": [
{
"ticket_type_id": "tt_10k",
"name": "10K",
"description": "<string>",
"currency": "UGX",
"price_minor": 123,
"laces_fee_minor": 123,
"total_minor": 123,
"card": {
"laces_fee_minor": 123,
"total_minor": 123
},
"airtel": {
"laces_fee_minor": 123,
"total_minor": 123
},
"is_free": true,
"capacity": 123,
"distance_km": 123,
"remaining": 123,
"sales_start": "2023-11-07T05:31:56Z",
"sales_end": "2023-11-07T05:31:56Z",
"min_age": 123,
"max_age": 123
}
],
"additional_questions": [
{
"key": "kit_size",
"label": "T-shirt size",
"type": "text",
"required": true,
"options": [
"<string>"
],
"help": "<string>"
}
],
"waiver_required": true,
"venue": "<string>",
"reg_opens_at": "2023-11-07T05:31:56Z",
"reg_closes_at": "2023-11-07T05:31:56Z",
"partner_reference": "<string>",
"support_email": "jsmith@example.com",
"waiver_version": "2026-09-01"
}
}Events
Create a draft event with the Laces API
POST /events: create a Laces event as a draft from your server. Needs the events:write scope and an Idempotency-Key. Paid tickets are added separately.
POST
/
events
Create an event
curl --request POST \
--url https://connect.laces.run/v1/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"name": "Saturday Park Run",
"timezone": "Africa/Kampala",
"starts_at": "2027-03-27T07:00:00",
"ends_at": "2027-03-27T10:00:00",
"venue": "Kololo Airstrip",
"visibility": "unlisted",
"partner_reference": "run-2027-03-27"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'Saturday Park Run',
timezone: 'Africa/Kampala',
starts_at: '2027-03-27T07:00:00',
ends_at: '2027-03-27T10:00:00',
venue: 'Kololo Airstrip',
visibility: 'unlisted',
partner_reference: 'run-2027-03-27'
})
};
fetch('https://connect.laces.run/v1/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://connect.laces.run/v1/events"
payload = {
"name": "Saturday Park Run",
"timezone": "Africa/Kampala",
"starts_at": "2027-03-27T07:00:00",
"ends_at": "2027-03-27T10:00:00",
"venue": "Kololo Airstrip",
"visibility": "unlisted",
"partner_reference": "run-2027-03-27"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://connect.laces.run/v1/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Saturday Park Run',
'timezone' => 'Africa/Kampala',
'starts_at' => '2027-03-27T07:00:00',
'ends_at' => '2027-03-27T10:00:00',
'venue' => 'Kololo Airstrip',
'visibility' => 'unlisted',
'partner_reference' => 'run-2027-03-27'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"code": 123,
"message": "Already created (idempotent replay)",
"data": {
"event_id": "q3Zk9mVx",
"name": "Kampala City 10K",
"handle": "kampala-city-10k",
"short_code": "K10",
"description": "<string>",
"cover": "<string>",
"event_type": "run",
"status": "draft",
"visibility": "public",
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"timezone": "Africa/Kampala",
"currency": "UGX",
"payments_enabled": true,
"registration_url": "<string>",
"registration_mode": "laces",
"created_via_api": true,
"organizer_name": "Kampala Road Runners",
"payment_methods": [
"momo",
"airtel"
],
"ticket_types": [
{
"ticket_type_id": "tt_10k",
"name": "10K",
"description": "<string>",
"currency": "UGX",
"price_minor": 123,
"laces_fee_minor": 123,
"total_minor": 123,
"card": {
"laces_fee_minor": 123,
"total_minor": 123
},
"airtel": {
"laces_fee_minor": 123,
"total_minor": 123
},
"is_free": true,
"capacity": 123,
"distance_km": 123,
"remaining": 123,
"sales_start": "2023-11-07T05:31:56Z",
"sales_end": "2023-11-07T05:31:56Z",
"min_age": 123,
"max_age": 123
}
],
"additional_questions": [
{
"key": "kit_size",
"label": "T-shirt size",
"type": "text",
"required": true,
"options": [
"<string>"
],
"help": "<string>"
}
],
"waiver_required": true,
"venue": "<string>",
"reg_opens_at": "2023-11-07T05:31:56Z",
"reg_closes_at": "2023-11-07T05:31:56Z",
"partner_reference": "<string>",
"support_email": "jsmith@example.com",
"waiver_version": "2026-09-01"
}
}Authorizations
bearerAuthoauth2
Headers
Body
application/json
A flat body: every field is a top-level string or null. An unknown key is 400 unknown_field; a wrong type is 400 validation_failed; both name the field in error_details.field. Laces sets the status (draft), the currency (your organization's), the handle and the registration close time (the start).
Last modified on November 24, 2026