Publish an event
curl --request POST \
--url https://connect.laces.run/v1/events/{eventId}/publish \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://connect.laces.run/v1/events/{eventId}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://connect.laces.run/v1/events/{eventId}/publish"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://connect.laces.run/v1/events/{eventId}/publish",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"code": 200,
"message": "Event published",
"data": {
"event_id": "q3Zk9mVx",
"name": "Saturday Park Run",
"handle": "saturday-park-run",
"short_code": "SPR",
"description": "",
"cover": "https://cdn.example.org/saturday-park-run.jpg",
"event_type": "running",
"status": "open",
"visibility": "unlisted",
"starts_at": "2027-03-27T04:00:00.000Z",
"ends_at": "2027-03-27T07:00:00.000Z",
"timezone": "Africa/Kampala",
"currency": "UGX",
"reg_closes_at": "2027-03-27T04:00:00.000Z",
"payments_enabled": true,
"venue": "Kololo Airstrip",
"organizer_name": "Kampala Road Runners",
"payment_methods": [
"momo",
"airtel",
"card"
],
"ticket_types": [
{
"ticket_type_id": "tt_5k",
"name": "5K",
"description": "",
"currency": "UGX",
"price_minor": 50000,
"laces_fee_minor": 2500,
"total_minor": 52500,
"card": {
"laces_fee_minor": 4400,
"total_minor": 54400
},
"airtel": {
"laces_fee_minor": 3100,
"total_minor": 53100
},
"is_free": false,
"capacity": 200,
"distance_km": 5
}
],
"additional_questions": [],
"waiver_required": false,
"waiver_version": "",
"registration_url": null,
"registration_mode": "laces",
"created_via_api": true,
"partner_reference": "run-2027-03-27"
}
}Events
Publish an event and open registration
POST /events//publish: open registration for an event your key created. Needs events:write. Publishing an open event changes nothing.
POST
/
events
/
{eventId}
/
publish
Publish an event
curl --request POST \
--url https://connect.laces.run/v1/events/{eventId}/publish \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://connect.laces.run/v1/events/{eventId}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://connect.laces.run/v1/events/{eventId}/publish"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://connect.laces.run/v1/events/{eventId}/publish",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"code": 200,
"message": "Event published",
"data": {
"event_id": "q3Zk9mVx",
"name": "Saturday Park Run",
"handle": "saturday-park-run",
"short_code": "SPR",
"description": "",
"cover": "https://cdn.example.org/saturday-park-run.jpg",
"event_type": "running",
"status": "open",
"visibility": "unlisted",
"starts_at": "2027-03-27T04:00:00.000Z",
"ends_at": "2027-03-27T07:00:00.000Z",
"timezone": "Africa/Kampala",
"currency": "UGX",
"reg_closes_at": "2027-03-27T04:00:00.000Z",
"payments_enabled": true,
"venue": "Kololo Airstrip",
"organizer_name": "Kampala Road Runners",
"payment_methods": [
"momo",
"airtel",
"card"
],
"ticket_types": [
{
"ticket_type_id": "tt_5k",
"name": "5K",
"description": "",
"currency": "UGX",
"price_minor": 50000,
"laces_fee_minor": 2500,
"total_minor": 52500,
"card": {
"laces_fee_minor": 4400,
"total_minor": 54400
},
"airtel": {
"laces_fee_minor": 3100,
"total_minor": 53100
},
"is_free": false,
"capacity": 200,
"distance_km": 5
}
],
"additional_questions": [],
"waiver_required": false,
"waiver_version": "",
"registration_url": null,
"registration_mode": "laces",
"created_via_api": true,
"partner_reference": "run-2027-03-27"
}
}Authorizations
bearerAuthoauth2
Last modified on November 24, 2026