---
title: "Authorize Square"
method: GET
path: "/oauth/square/authorize"
tags: ["square-oauth"]
---

# Authorize Square

`GET /oauth/square/authorize`

Start OAuth flow and redirect to authorization page.

## Query parameters

- `instance_id` string, required — Unique identifier for the MCP connection
- `redirect_url` string, nullable — Optional URL to redirect to after authorization
- `force_refresh` boolean — Force re-authorization even if valid tokens exist

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/klavis-ai/apis/klavis-ai-https-www-klavis-ai.md) · [All operations](https://skmtc.net/klavis-ai/apis/klavis-ai-https-www-klavis-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/klavis-ai/klavis-ai-https-www-klavis-ai/revisions/1f05ced7280f/schema)
