---
title: "Returns the Google OAuth 2.0 authorization URL. Redirect the user to this URL to begin the login flow."
method: GET
path: "/api/google-auth/authorize"
tags: ["google-auth"]
---

# Returns the Google OAuth 2.0 authorization URL. Redirect the user to this URL to begin the login flow.

`GET /api/google-auth/authorize`

## Request

- Base URL: `https://api.spala.ai/api`
- URL: `https://api.spala.ai/api/api/google-auth/authorize`
- Auth: none declared

## Query parameters

- `state` string

## Response `200`

Successful response

- object
  - `url` string

---

[API](https://skmtc.dev/spala/apis/admin.md) · [All operations](https://skmtc.dev/spala/apis/admin/llms.txt) · [OpenAPI document](https://skmtc.dev/spala/apis/admin/revisions/723cc50571ee?raw)
