Integrations

Start connecting an integration

Begins a Gmail (google) or Outlook (microsoft) mailbox connection and returns a connect URL. The provider defaults to google. OAuth consent happens in a browser, so a human must open the returned URL to authorize; the connection appears in the list once approved. Returns 503 provider_not_configured when the requested provider is not configured in this environment.

post/api/v1/integrations

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/integrations
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Request body

provider'google' | 'microsoft'

Response

A connect URL for the requested provider.

provider'google' | 'microsoft' required
connectUrlstring required

Changes

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