Calendar Auth V4

Get OAuth authorization URL

Get the OAuth authorization URL for connecting a calendar provider. The user should be redirected to this URL to complete the OAuth flow. After authorization, the provider will redirect back to the API callback endpoint.

get/v4/calendar-connections/auth/{provider}/url

Request

  • Base URL: https://developer.meetergo.com (the document declares no server; this is the origin it was published from)
  • URL: https://developer.meetergo.com/v4/calendar-connections/auth/{provider}/url
  • Auth: one of:
    • API key in header x-meetergo-api-user-id
    • HTTP bearer
    • HTTP bearer

Path parameters

provider'google' | 'outlook' | 'icloud' | 'caldav' | 'exchange' | 'smart-we' | 'ics' required

Calendar provider to connect (google, outlook)

Query parameters

redirectUrlstring
Example:https://yourapp.com/calendar-success

URL to redirect to after OAuth completion (defaults to frontend URL)

userIdstring
Example:user-uuid

User ID to connect for (admin only - connects calendar for specified user)

setAsCalendarSyncboolean
Example:true

Whether to automatically set this connection as the calendar sync provider after successful OAuth. If the user already has a calendar sync provider, this will be ignored.

Response

Authorization URL generated successfully

authUrlstring

OAuth authorization URL to redirect user to

provider'google' | 'outlook' | 'icloud' | 'caldav' | 'exchange' | 'smart-we' | 'ics'

Calendar provider

Example response

{
  "authUrl": "https://accounts.google.com/oauth/authorize?client_id=...",
  "provider": "google"
}

Changes

No recorded changes to this operation across all 1 revision of this API.