POST

Clone Event


Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event.

The new event's date is automatically set to 14 days from the original event date.

If an event with the same title already exists, the new event's title gets a sequence number. For example, if you clone an event named "Leather Crafting 101", the new event's title is "Leather Crafting 101 (1)".

You can change the required entity field values while cloning an event.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Manage Events
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/events/v3/events/{eventId}/clone

Path Params
eventIdstringRequired

Event ID.

Body Params
eventEvent

Field values to be changed when cloning the event.


draftboolean

Whether to clone the event as a draft.


fieldsArray <string>maxItems 20

Predefined sets of fields to return. If both fields and fieldsets are sent in the request, the union of both lists is returned.

Response Object
eventEvent

Cloned event.

Clone event
Request
cURL
curl -X POST 'https://www.wixapis.com/events/v3/events/217b6eed-f580-43e4-974a-6cc0bfa4b58a/clone' \ -H 'Authorization: <AUTH TOKEN>' \ -d '{ "draft": true, "fields": ["DETAILS", "TEXTS", "REGISTRATION", "URLS", "FORM", "DASHBOARD", "ONLINE_CONFERENCING_SESSION", "SEO_SETTINGS", "AGENDA", "CATEGORIES"] }'
Response
JSON
{ "event": { "id": "88e3ccdb-cab7-48e1-85a9-1d4a9430357f", "location": { "name": "San Jose Convention Center", "type": "VENUE", "address": { "country": "US", "subdivision": "CA", "city": "San Jose", "postalCode": "95113", "streetAddress": { "number": "150", "name": "West San Carlos Street", "apt": "", "formattedAddressLine": null }, "addressLine2": null, "formattedAddress": "150 W San Carlos St, San Jose, CA 95113, USA", "hint": null, "geocode": { "latitude": 37.3284838, "longitude": -121.8881933 }, "countryFullName": "United States", "subdivisions": [ { "code": "CA", "name": "California", "type": "ADMINISTRATIVE_AREA_LEVEL_1", "typeInfo": null }, { "code": "Santa Clara County", "name": "Santa Clara County", "type": "ADMINISTRATIVE_AREA_LEVEL_2", "typeInfo": null }, { "code": "San Jose", "name": "San Jose", "type": "ADMINISTRATIVE_AREA_LEVEL_3", "typeInfo": null }, { "code": "Downtown San Jose", "name": "Downtown San Jose", "type": "ADMINISTRATIVE_AREA_LEVEL_4", "typeInfo": null }, { "code": "US", "name": "United States", "type": "COUNTRY", "typeInfo": null } ], "subdivisionFullName": null }, "locationTbd": false }, "dateAndTimeSettings": { "dateAndTimeTbd": false, "dateAndTimeTbdMessage": null, "startDate": "2023-07-26T16:00:00Z", "endDate": "2023-07-27T16:00:00Z", "timeZoneId": "America/Yellowknife", "hideEndDate": false, "showTimeZone": false, "recurrenceStatus": "ONE_TIME", "recurringEvents": { "individualEventDates": [], "categoryId": null }, "formatted": { "dateAndTime": "26 July 2023 at 10:00 – 27 July 2023 at 10:00", "startDate": "26 July 2023", "startTime": "10:00", "endDate": "27 July 2023", "endTime": "10:00" } }, "title": "TechXpo 2023: Innovation and Future Trends Unveiled (1)", "shortDescription": "Step into a world where technology takes center stage, as groundbreaking innovations, cutting-edge gadgets, and revolutionary ideas converge.", "mainImage": null, "slug": "techxpo-2023-innovation-and-future-trends-unveiled-1", "languageCode": "en", "createdDate": "2023-07-12T11:14:22.410Z", "updatedDate": "2023-07-12T11:14:22Z", "status": "UPCOMING", "registration": { "type": "RSVP", "status": "OPEN_RSVP", "rsvp": { "responseType": "YES_ONLY", "limit": null, "waitlistEnabled": false, "startDate": null, "endDate": null }, "tickets": { "guestsAssignedSeparately": false, "ticketLimitPerOrder": 50, "stockManagerAppId": null, "currency": null, "lowestPrice": null, "highestPrice": null, "soldOut": true, "taxSettings": null }, "external": null, "allowedGuestTypes": "VISITOR_OR_MEMBER", "initialType": "RSVP", "registrationPaused": false, "registrationDisabled": false }, "calendarUrls": { "google": "http://calendar.google.com/calendar/render?action=TEMPLATE&text=TechXpo+2023%3A+Innovation+and+Future+Trends+Unveiled+%281%29&dates=20230726T160000Z%2F20230727T160000Z&location=150+W+San+Carlos+St%2C+San+Jose%2C+CA+95113%2C+USA&details=Thank+you+for+registering+to+our+event%21%0A%0AWe%27re+looking+forward+to+seeing+you+there.%0A%0AHere+are+the+event+details%3A%0A%0ATechXpo+2023%3A+Innovation+and+Future+Trends+Unveiled+%281%29%0A26+July+2023+at+10%3A00+%E2%80%93+27+July+2023+at+10%3A00%0ASan+Jose+Convention+Center%2C+150+W+San+Carlos+St%2C+San+Jose%2C+CA+95113%2C+USA", "ics": "https://www.wixevents.com/media/v2/calendar?token=JWS.eyJraWQiOiJpb21iOUJ0eSIsImFsZyI6IkhTMjU2In0.eyJkYXRhIjoie1wiaW5zdGFuY2VJZFwiOlwiMWY2ZGM5MDYtODAzZC00NjUwLTgzZjUtNzJlYTFkODgxMDBiXCIsXCJldmVudElkXCI6e1widmFsdWVcIjpcIjg4ZTNjY2RiLWNhYjctNDhlMS04NWE5LTFkNGE5NDMwMzU3ZlwifSxcIm9jTGlua1wiOm51bGx9IiwiaWF0IjoxNjg5MTYwNDYyfQ.ZAYBeFL8zhcdTVpudlXhpgVPxiQRIFzrygFrjNpJuT4" }, "eventPageUrl": { "base": "https://ievak9.wixsite.com/accessories", "path": "/event-details-registration/techxpo-2023-innovation-and-future-trends-unveiled-1" }, "form": { "controls": [ { "type": "NAME", "system": true, "name": "name", "inputs": [ { "name": "firstName", "array": false, "label": "First name", "additionalLabels": {}, "options": [], "mandatory": true, "maxLength": 50, "type": "TEXT", "maxSize": null, "defaultOptionSelection": null, "labels": [] }, { "name": "lastName", "array": false, "label": "Last name", "additionalLabels": {}, "options": [], "mandatory": true, "maxLength": 50, "type": "TEXT", "maxSize": null, "defaultOptionSelection": null, "labels": [] } ], "label": "First name, Last name", "orderIndex": 0, "id": "name" }, { "type": "INPUT", "system": true, "name": "email", "inputs": [ { "name": "email", "array": false, "label": "Email", "additionalLabels": {}, "options": [], "mandatory": true, "maxLength": 255, "type": "TEXT", "maxSize": null, "defaultOptionSelection": null, "labels": [] } ], "label": "Email", "orderIndex": 1, "id": "email" } ], "messages": { "rsvp": { "rsvpYesOption": "I'm Going", "rsvpNoOption": "Not Going", "positiveMessages": { "title": "Add your details", "confirmation": { "title": "Thank you!", "message": "An email with all the event info was sent to you.", "addToCalendarActionLabel": "Add to Calendar", "shareActionLabel": "Share" } }, "waitlistMessages": { "title": "Looks like this event is full. Join the waitlist.", "confirmation": { "title": "Thanks! You've been added to the waitlist.", "message": "We'll update you if additional spots become available.", "addToCalendarActionLabel": "Add to Calendar", "shareActionLabel": "Share" } }, "negativeMessages": { "title": "Add your details", "confirmation": { "title": "Sorry You Can't Make It", "shareActionLabel": "Share" } }, "submitActionLabel": "SUBMIT" }, "checkout": { "title": "Add your details", "submitActionLabel": "Continue" }, "registrationClosed": { "message": "Registration is closed", "exploreEventsActionLabel": "See other events" }, "ticketsUnavailable": { "message": "Tickets are not on sale", "exploreEventsActionLabel": "See other events" } } }, "summaries": { "rsvps": { "totalCount": 0, "yesCount": 0, "noCount": 0, "waitlistCount": 0 }, "tickets": { "ticketsSold": 0, "revenue": null, "currencyLocked": false, "totalOrders": 0, "totalSales": null } }, "instanceId": "1f6dc906-803d-4650-83f5-72ea1d88100b", "guestListSettings": { "displayedPublicly": true }, "userId": "8a8b9b73-4da8-47a5-8268-4396e68a0605", "feed": null, "onlineConferencing": { "enabled": false, "providerId": null, "providerName": "", "type": -1, "session": { "hostLink": "https://www.wixevents.com/oc?start=JWS.eyJraWQiOiJpb21iOUJ0eSIsImFsZyI6IkhTMjU2In0.eyJkYXRhIjoie1wiYWN0aW9uXCI6XCJzdGFydFwiLFwiaW5zdGFuY2VJZFwiOlwiMWY2ZGM5MDYtODAzZC00NjUwLTgzZjUtNzJlYTFkODgxMDBiXCIsXCJldmVudElkXCI6XCI4OGUzY2NkYi1jYWI3LTQ4ZTEtODVhOS0xZDRhOTQzMDM1N2ZcIn0iLCJpYXQiOjE2ODkxNjA0NjJ9.lzgZbpm4MD3GgwYbuBXEWqSY61UlmydphGnAG3Y49DU", "guestLink": "https://www.wixevents.com/oc?join=JWS.eyJraWQiOiJpb21iOUJ0eSIsImFsZyI6IkhTMjU2In0.eyJkYXRhIjoie1wiYWN0aW9uXCI6XCJqb2luXCIsXCJpbnN0YW5jZUlkXCI6XCIxZjZkYzkwNi04MDNkLTQ2NTAtODNmNS03MmVhMWQ4ODEwMGJcIixcImV2ZW50SWRcIjpcIjg4ZTNjY2RiLWNhYjctNDhlMS04NWE5LTFkNGE5NDMwMzU3ZlwifSIsImlhdCI6MTY4OTE2MDQ2Mn0.CbP4RCcGaOR-rtd9v12d5piAUElEuRktiLYzlp5VUt0", "password": null, "sessionCreated": null, "sessionId": null } }, "seoSettings": null, "contactLabel": "custom.techxpo-2023-innovation-and-future-trends-unveil-1", "agendaSettings": { "enabled": false, "pageUrl": { "base": "https://ievak9.wixsite.com/accessories", "path": "/schedule/techxpo-2023-innovation-and-future-trends-unveiled-1" } }, "categories": [] } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?