---
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

## Changes

- **2026-07-26** `587cbdf607b0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mixedbread/apis/mxbai-omni/changes/v1/integrations/gmail/oauth/callback/get.md)

---

[API](https://skmtc.dev/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.dev/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/revisions/79d5edfa05e3/schema)
