Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Sync

Developer Preview

Sends an email to the external calendar owner requesting sync approval.

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Manage Bookings permission scope.

POST

https://www.wixapis.com/bookings/v1/externalCalendar/sync

Body Params

NAME
TYPE
DESCRIPTION
resourceId
Required

string

Resource ID.

syncRequestEmail
Required

string

Email address connected to the resource, to which the sync request will be sent.

calendar

string

Supported values: GOOGLE.

Calendar type.

Response Object

Returns an empty object.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Send Sync Email

Send an email with a Google calendar sync request for the given resource id.

Request

curl

Copy Code
1curl -X POST \
2 'https://www.wixapis.com/bookings/v1/externalCalendar/sync' \
3 -H "Content-Type: application/json" \
4 -H 'Authorization: <AUTH>' \
5 --data '{ "resourceId" : "0effc651-f74d-4969-b548-29ea0290aa62", "syncRequestEmail": "email@wix.com", "calendar": "GOOGLE" }'

Response

json

1
2{}