Clone event

Copy an event, with the optional settings you choose to keep.

POST https://cotlet.dev/api/v1/billetto/events/{event_id}/clone

write Confirm

Does what More > Clone does on an event in Manage: description, image and ticket types are copied automatically. keep adds the optional items: booking_questions, headliners, custom_email_text, capacity_settings, scanner_settings and ticket_banners. For a recurring event only the parent event is copied, so its time slots are added by hand in Billetto. The copy still needs its date and a check before you publish it. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: clone_event
NameTypeDescription
event_id string required string Event ID from list_events.
keep array array Optional items to copy: booking_questions, headliners, custom_email_text, capacity_settings, scanner_settings, ticket_banners.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/billetto/events/event_8c41d2/clone \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("billetto", "clone_event", {"event_id":"event_8c41d2"})
Node.js
const result = await cotlet.call('billetto', 'clone_event', {"event_id":"event_8c41d2"});
CLI
cotlet call billetto clone_event --data '{"event_id":"event_8c41d2"}'

Example response

JSON

{
  "source_event_id": "1204551",
  "event_id": "1209330",
  "name": "Autumn Jazz Night",
  "copied": [
    "booking_questions",
    "scanner_settings"
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.