Skip to main content

Get Reauth Url

GET 

/api/integrations/reoauth_url/:integration_type

Get OAuth re-authorization URL for an existing integration.

Use this when an integration's status is 'need_reauth' to get a new OAuth URL that forces the user to re-authorize the application.

Args: integration_type: Type of integration (e.g., 'gmail') integration_id: ID of the integration to re-authenticate redirect_uri: Optional custom redirect URI (defaults to settings page)

Returns: Dict with 'oauth_url' field

Example: GET /api/integrations/reoauth_url/gmail?integration_id=abc123&redirect_uri=/dashboard Returns: {"oauth_url": "https://accounts.google.com/..."\}

Request

Responses

Successful Response