Handle Notion Oauth
Handle Notion OAuth token upsert
Args: request: The FastAPI request object body: The request body containing the access token and metadata
Returns: Response indicating success
Raises: HTTPException: If there’s an error during the process
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
access_token
metadata
integrated_service_id
code
redirect_uri
Response
Successful Response