POST /api/v2/event/set
Creates a new event or updates an existing one. Optionally clones settings, templates, and exhibitors from an existing event.
Authentication
Authorization: Bearer <your_api_key>
Endpoint
POST /api/v2/event/set
Content-Type: multipart/form-data
Create vs Update
-
Create: Omit
event_id.title,country,city,start, andendare required -
Update: Pass
event_id. Only include the fields you want to change
Body Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer |
Required for update |
ID of the event to update |
|
|
string |
Required on create |
Event name |
|
|
string |
Required on create |
Country name or 2-letter ISO code |
|
|
string |
Required on create |
City where the event takes place |
|
|
string |
Required on create |
Start date/time: |
|
|
string |
Required on create |
End date/time: same format |
|
|
string |
No |
Event venue address |
|
|
string |
No |
Event venue name |
|
|
integer |
No |
When provided on create, settings and exhibitors are cloned from this event |
Example Requests
# Create
curl -X POST "https://your-event-domain.com/api/v2/event/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "title=Tech Summit 2030" \
-F "country=United Kingdom" \
-F "city=London" \
-F "start=15 Jun 2030 09:00" \
-F "end=17 Jun 2030 18:00" \
-F "venue=ExCeL London"
# Update
curl -X POST "https://your-event-domain.com/api/v2/event/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "event_id=123" \
-F "title=Tech Summit 2030 — Updated"
# Clone from existing
curl -X POST "https://your-event-domain.com/api/v2/event/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "title=Tech Summit 2031" \
-F "country=United Kingdom" \
-F "city=London" \
-F "start=14 Jun 2031 09:00" \
-F "end=16 Jun 2031 18:00" \
-F "clone_event_id=123"