---
title: "Handle Gmail Oauth Callback"
method: POST
path: "/api/email/oauth/gmail/callback"
---

# Handle Gmail Oauth Callback

`POST /api/email/oauth/gmail/callback`

## Request

- Base URL: `https://api.getle.ad` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getle.ad/api/email/oauth/gmail/callback`
- Auth: none declared

Handle Gmail OAuth callback and store tokens

## Headers

- `authorization` string

## Request body

- GmailCallbackRequest
  - `code` string, required
  - `state` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getle/apis/lead-generator-pro-api.md) · [All operations](https://skmtc.dev/getle/apis/lead-generator-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getle/apis/lead-generator-pro-api/revisions/041155e6d905?raw)
