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

Get Sync Status

Developer Preview

Gets the sync status for an external calendar.

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.

GET

https://www.wixapis.com/bookings/v1/externalCalendar/status/{resourceId}

Path Params

NAME
TYPE
DESCRIPTION
resourceId
Required

string

Resource ID.

Response Object

NAME
TYPE
DESCRIPTION
statuses

Array<object>

List of sync statuses per calendar type.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Get Sync status

Returns the calendar sync status for the given resource id.

Request

curl

Copy Code
1
2curl 'https://www.wixapis.com/bookings/v1/externalCalendar/status/0effc651-f74d-4969-b548-29ea0290aa62' \
3 -H 'Authorization: <AUTH>'

Response

json

1
2{"statuses": [{
3 "resourceId": "0effc651-f74d-4969-b548-29ea0290aa62",
4 "calendar": "GOOGLE",
5 "status": "CONNECTED"
6}]}