GET

Get Session


Deprecated

This method has been replaced with Get Event, and will be removed on June 30, 2025.

Returns a session from the calendar.

Permissions This endpoint requires the Read Bookings Calendar or the Manage Bookings permission scope. With the Read Bookings Calendar permission scope, the session participants are not returned.

Endpoint
GET
https://www.wixapis.com/bookings/v1/calendar/sessions/{id}

Path Params
idstringRequired

Session ID.

Response Object
sessionSession

Session.

Get Session

Requests a session by its Id

Request
cURL
curl 'https://www.wixapis.com/bookings/v1/calendar/sessions/2mmoW0vwKcSFyxtOfCdMr5jzNtbCs62lQ62AcLzRcPOZFywzW4Ei3WJC79mkE1rRreylI1FCRYfP3MB36naHxEou7NieV8Cfdbu1' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "session": { "id": "2mmoW0vwKcSFyxtOfCdMr5jzNtbCs62lQ62AcLzRcPOZFywzW4Ei3WJC79mkE1rRreylI1FCRYfP3MB36naHxEou7NieV8Cfdbu1", "scheduleId": "03d67e9c-5ba9-4e73-ad9e-7fddc57c6c4e", "scheduleOwnerId": "9b33d0b6-bcd2-408b-ac9d-f164504a16e2", "start": { "timestamp": "2020-04-16T18:00:00Z", "timeZone": "America/Denver" }, "end": { "timestamp": "2020-04-16T19:00:00Z", "timeZone": "America/Denver" }, "affectedSchedules": [ { "scheduleId": "06be0abc-8a6a-4b7b-93c1-70d053ffd97f", "transparency": "BUSY", "scheduleOwnerId": "1d6a2248-34e7-4bbc-a6e3-bf0ce71f594f" } ], "title": "Intermediate Ski Lesson (members only)", "tags": [ "GROUP" ], "location": { "locationType": "OWNER_BUSINESS" }, "capacity": 50, "rate": { "labeledPriceOptions": {
Errors

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

Did this help?