Events
Clone Event
Creates a new event by cloning an existing one. Copies all event settings including registration types, packages, sessions, forms, and website configuration into a new event.
The source event is identified by event_id in the path. Override any fields in the request body to customize the clone (e.g., new name, start_date, display_url). Fields not provided in the body inherit values from the source event.
Cloning is asynchronous and may take a few moments to complete. Registrant data is never copied — the cloned event starts with zero registrations.
POST
/
events
/
{event_id}
/
clone
Clone Event
curl --request POST \
--url https://api.swoogo.com/api/v1/events/{event_id}/clone \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data close_date= \
--data close_time= \
--data display_url= \
--data end_date= \
--data end_time= \
--data folder_id= \
--data name= \
--data start_date= \
--data start_time= \
--data timezone=import requests
url = "https://api.swoogo.com/api/v1/events/{event_id}/clone"
payload = {
"close_date": "",
"close_time": "",
"display_url": "",
"end_date": "",
"end_time": "",
"folder_id": "",
"name": "",
"start_date": "",
"start_time": "",
"timezone": ""
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams({
close_date: '',
close_time: '',
display_url: '',
end_date: '',
end_time: '',
folder_id: '',
name: '',
start_date: '',
start_time: '',
timezone: ''
})
};
fetch('https://api.swoogo.com/api/v1/events/{event_id}/clone', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.swoogo.com/api/v1/events/{event_id}/clone",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "close_date=&close_time=&display_url=&end_date=&end_time=&folder_id=&name=&start_date=&start_time=&timezone=",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/x-www-form-urlencoded"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.swoogo.com/api/v1/events/{event_id}/clone"
payload := strings.NewReader("close_date=&close_time=&display_url=&end_date=&end_time=&folder_id=&name=&start_date=&start_time=&timezone=")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.swoogo.com/api/v1/events/{event_id}/clone")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/x-www-form-urlencoded")
.body("close_date=&close_time=&display_url=&end_date=&end_time=&folder_id=&name=&start_date=&start_time=&timezone=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.swoogo.com/api/v1/events/{event_id}/clone")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/x-www-form-urlencoded'
request.body = "close_date=&close_time=&display_url=&end_date=&end_time=&folder_id=&name=&start_date=&start_time=&timezone="
response = http.request(request)
puts response.read_bodyAuthorizations
Path Parameters
Body
application/x-www-form-urlencoded
Response
200
⌘I
Clone Event
curl --request POST \
--url https://api.swoogo.com/api/v1/events/{event_id}/clone \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data close_date= \
--data close_time= \
--data display_url= \
--data end_date= \
--data end_time= \
--data folder_id= \
--data name= \
--data start_date= \
--data start_time= \
--data timezone=import requests
url = "https://api.swoogo.com/api/v1/events/{event_id}/clone"
payload = {
"close_date": "",
"close_time": "",
"display_url": "",
"end_date": "",
"end_time": "",
"folder_id": "",
"name": "",
"start_date": "",
"start_time": "",
"timezone": ""
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams({
close_date: '',
close_time: '',
display_url: '',
end_date: '',
end_time: '',
folder_id: '',
name: '',
start_date: '',
start_time: '',
timezone: ''
})
};
fetch('https://api.swoogo.com/api/v1/events/{event_id}/clone', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.swoogo.com/api/v1/events/{event_id}/clone",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "close_date=&close_time=&display_url=&end_date=&end_time=&folder_id=&name=&start_date=&start_time=&timezone=",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/x-www-form-urlencoded"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.swoogo.com/api/v1/events/{event_id}/clone"
payload := strings.NewReader("close_date=&close_time=&display_url=&end_date=&end_time=&folder_id=&name=&start_date=&start_time=&timezone=")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.swoogo.com/api/v1/events/{event_id}/clone")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/x-www-form-urlencoded")
.body("close_date=&close_time=&display_url=&end_date=&end_time=&folder_id=&name=&start_date=&start_time=&timezone=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.swoogo.com/api/v1/events/{event_id}/clone")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/x-www-form-urlencoded'
request.body = "close_date=&close_time=&display_url=&end_date=&end_time=&folder_id=&name=&start_date=&start_time=&timezone="
response = http.request(request)
puts response.read_body