API Endpoint(s) and/or Zoom API Event(s)
Get scheduled events
GET /scheduler/events/{eventId}
Description
Trash data is returned from the API on the "guests"
property when the scheduled event that is being fetched was created through the booking page, and one or more emails are added to the “Additional Attendees” field. The trash data looks something like table: 0x7f072ca2c928
.
Error?
The response fails to comply with JSON format, breaking integrations with the API.
How To Reproduce
Steps to reproduce the behavior:
Create a meeting through a booking page
- Open a booking page URL from the account
- Select a times slot and input all required information to book a meeting
- Click on “Add Attendees” and add one or more attendees
- Click on “Book”
Fetch meeting through the GET /scheduler/events/{eventId}
endpoint
curl --location --request GET 'https://api.zoom.us/v2/scheduler/events/{event_id}?user_id={user_id}' \
--header 'Authorization: Bearer {bearer_token} \
Authentication method or app type
Request done with a bearer token with grant_type: account_credentials
with Admin permissions on a Server-to-Server applications.
Resulting payload (all possibly sensible data has been replaced with xxxx
Take note of the guests
property and the [table: 0x7f072ca2c928]
content.
{
"event_id": "xxxx",
"schedule_id": "xxxx",
"attendees": [
{
"booker": true,
"created": "2024-12-20T20:25:58.501Z",
"display_name": "Monday Nine and a half",
"email": "xxxx@email.com",
"first_name": "Monday",
"attendee_id": "xxxx",
"last_name": "Nine and a half",
"time_zone": "America/Tegucigalpa"
}
],
"description": "Follow-Up Visit",
"end_date_time": "2024-12-23T16:00:00Z",
"guests": [table: 0x7f072ca2c928
],
"location": "Remote;https://xxxx.zoom.us/j/xxxx?pwd=xxxx",
"start_date_time": "2024-12-23T15:30:00.000Z",
"status": "confirmed",
"summary": "Provider Consultation with Daniel Suazo (Monday Nine and a half)",
"updated": "2024-12-20T20:25:59.225Z",
"event_type": "default",
"external_location": {
"kind": "zoom",
"meeting_id": "xxxx",
"meeting_passcode": "786501",
"meeting_description": "Daniel Suazo is inviting you to a scheduled Zoom meeting.\r\nJoin Zoom Meeting\r\nhttps://xxxx.zoom.us/j/xxxx?pwd=xxxx\r\n\r\n........",
"meeting_join_url": "https://xxxx.zoom.us/j/xxxx?pwd=xxxx"
},
"tracking_params": []
}
Additional Information
This does not happen when additional attendees are not added, since the guests
property is an empty array.