---
title: "Gmail OAuth callback"
method: GET
path: "/v1/integrations/gmail/oauth/callback"
tags: ["integrations"]
---

# Gmail OAuth callback

`GET /v1/integrations/gmail/oauth/callback`

Complete Gmail OAuth and persist the installation.

## Query parameters

- `state` string, required — Google OAuth state
- `code` string, nullable — Google OAuth authorization code
- `error` string, nullable — Google OAuth error

## Other responses

- `307` — Redirect after Gmail installation
- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/versions/2eece97b5ae5/schema)
