The KiviCare Google Meet Addon provides a set of REST API endpoints that manage authentication, configuration, and Google Meet consultation workflows. These endpoints enable secure communication between WordPress, KiviCare, and Google services.


Base API URL

All endpoints are relative to the following base path:

JAVASCRIPT
YOUR_SITE_URL/wp-json/kivi-care/v1/

Administrator Endpoints

These endpoints are accessible only to Administrators and are used to manage global Google Meet configuration.

1. Retrieve Global Settings

2. Update Global Settings
JAVASCRIPT
{
  "google_meet_config": {
    "client_id": "...",
    "client_secret": "..."
  },
  "google_meet_event_template": { }
}

Doctor Endpoints

These endpoints allow doctors to manage their individual Google Meet connections.

1. Get Doctor Configuration

2. Update Doctor Configuration
JAVASCRIPT
{
  "auth_type": "oauth",
  "client_id": "...",
  "client_secret": "..."
}

3. Generate Authorization URL
JAVASCRIPT
{
  "redirect_url": "https://accounts.google.com/..."
}

4. Disconnect Google Account

5. Test Google Meet Connection

Public Callback Endpoint

OAuth Authorization Callback