Edit event
Edit a single event's fields
Path Parameters
The id of the company
The id of the event
Request Body
Event fields to update
- Array [
- ]
Title of the event
Type of the event
Description of the event (in HTML)
Possible values: [IN_PERSON, ONLINE, HYBRID]
Location of the event
Start time of the event (UTC)
End time of the event (UTC)
Time zone of the event
Capacity of the event
Call URL of the event
Analytics code for admins
address object nullable
Address of the event
Main text
Secondary text
Formatted address
audience object
Audience target of the event
Whether the event is invite only
filters object[]
List of filters to target the audience
Key of the filter
Value of the filter
surveys object
Survey settings for the event
pre object nullable
Pre-event survey settings
ID of the survey template
Whether the survey is anonymous
Whether the survey is editable by participants
Deadline for submitting survey responses
notifications object
Whether to send a Slack notification
Whether to send an email notification
post object nullable
Post-event survey settings
ID of the survey template
Whether the survey is anonymous
Whether the survey is editable by participants
Deadline for submitting survey responses
notifications object
Whether to send a Slack notification
Whether to send an email notification
- 200
- 400
- 404
Event updated successfully
Schema
- Array [
- ]
Unique ID of the event
Date the event was created
Date the event was last updated
Title of the event
Type of the event
Analytics code for admins
Description of the event (in HTML)
Possible values: [IN_PERSON, ONLINE, HYBRID]
Location of the event
Start time of the event (UTC)
End time of the event (UTC)
Time zone of the event
Capacity of the event
List of organizers of the event
audience object
Audience target of the event
Whether the event is invite only
filters object[]
List of filters to target the audience
Key of the filter
Value of the filter
List of participants of the event
List of users on the waitlist
List of users who declined the event
Call URL of the event
address object nullable
Address of the event
Main text
Secondary text
Formatted address
calendar object nullable
Calendar details of the event
google object nullable
Google Calendar details
Unique ID of the event in Google Calendar
List of meeting room added to the calendar event
microsoft object nullable
Microsoft Outlook details
Unique ID of the event in Microsoft Outlook
List of meeting room added to the calendar event
Link to the event
{
"id": "2020-01-01:2e8f9915-fda0-450c-95a3-d61f93c66fa9",
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z",
"title": "Team lunch",
"type": "lunch",
"code": "string",
"description": "Lunch with <b>all</b> the team",
"location": "IN_PERSON",
"startTime": "2021-01-01T00:00:00.000Z",
"endTime": "2021-01-01T00:00:00.000Z",
"timeZone": "America/New_York",
"capacity": 10,
"organizers": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
],
"audience": {
"inviteOnly": true,
"filters": [
{
"key": "team",
"value": "2e8f9915-fda0-450c-95a3-d61f93c66fa9"
}
]
},
"participants": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
],
"waitlist": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
],
"declined": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
],
"callUrl": "https://meet.google.com/abc-123",
"address": {
"main": "San Francisco",
"secondary": "California",
"formattedAddress": "San Francisco, California, United States"
},
"calendar": {
"google": {
"id": "2e8f9915-fda0-450c-95a3-d61f93c66fa9",
"meetingRoomEmails": [
"xxx@resource.calendar.google.com"
]
},
"microsoft": {
"id": "2e8f9915-fda0-450c-95a3-d61f93c66fa9",
"meetingRoomEmails": [
"room@yourdomain.com"
]
}
},
"link": "https://app.at.cafe/events/2021-01-01/2e8f9915-fda0-450c-95a3-d61f93c66fa9"
}
An error when a parameter is missing or invalid
Schema
Error message
{
"message": "User not found"
}
An error when the event is not found
Schema
Error message
{
"message": "User not found"
}