---
title: "Get Search Console OAuth URL"
method: GET
path: "/blogs/search-console/oauth-url"
tags: ["Search Console"]
---

# Get Search Console OAuth URL

`GET /blogs/search-console/oauth-url`

## Request

- Base URL: `https://inblog.ai/api/v1`
- URL: `https://inblog.ai/api/v1/blogs/search-console/oauth-url`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/inblog/apis/inblog-api/docs/blogs/search-console/oauth-url/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the Google OAuth URL for connecting Search Console. Use the optional redirect_uri parameter for CLI-based authentication flows.

## Query parameters

- `redirect_uri` string, uri

## Response `200`

OAuth URL generated successfully

- OAuthUrlResponse
  - `url` string, uri: Google OAuth consent URL
  - `redirect_uri` string, uri: Redirect URI that will be used for the callback

## Other responses

- `401`: Authentication failed
- `403`: Insufficient permissions
- `500`: 서버 내부 오류

---

[API](https://skmtc.dev/inblog/apis/inblog-api.md) - [All operations](https://skmtc.dev/inblog/apis/inblog-api/llms.txt) - [OpenAPI document](https://skmtc.dev/inblog/apis/inblog-api/revisions/005eee7da591?raw)
