Skip to main content

My Google Calendar

Base URL https://api.leadx.in/api/key/protected. Every request needs an apikey header — see Authentication.

6 endpoints.

GET /my-google-calendar

Get my Google calendar accounts.

Auth apikey

:::note Used by the web app components/AddGoogleCalendarAccountModal.jsx, components/ScheduleMeetingModal.jsx, pages/AddMeeting.jsx and 1 more :::

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of GoogleCalendarAccount objects, alongside the pagination fields described in Response format.

POST /my-google-calendar

Create my Google calendar account.

Auth apikey · Success 200

:::note Used by the web app components/AddGoogleCalendarAccountModal.jsx, components/ScheduleMeetingModal.jsx, pages/AddMeeting.jsx and 1 more :::

Request body

FieldDefault
name
authTypemanual
clientId
clientSecret
refreshToken
calendarId

Required: name, clientId, clientSecret, refreshToken.

GET /my-google-calendar/:id

Get my Google calendar account.

Auth apikey

:::note Used by the web app components/AddGoogleCalendarAccountModal.jsx, pages/AddMeeting.jsx, pages/MemberSettings.jsx :::

Path parameters

Name
idRequired

GET /my-google-calendar/default

Get my Google calendar default.

Auth apikey

Responsedata is one MemberConnectingApp object. (Resource deduced from the collections this handler reads, not read off an explicit return.)

PUT /my-google-calendar/default

Set my Google calendar default.

Auth apikey · Success 200

Request body

FieldDefault
defaultAccountnull

POST /my-google-calendar/redirect

Get my Google calendar redirect URI.

Auth apikey