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

# Authorize

`GET /v1/oauth/authorize`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/oauth/authorize`
- Auth: none declared

Start the flow: validate the request, then show the consent screen.

`client_id` and `redirect_uri` are checked before any redirect happens,
so an unregistered callback can never be reached from here.

## Query parameters

- `client_id` string, required
- `redirect_uri` string, required
- `state` string, required
- `response_type` string
- `scope` string, nullable
- `code_challenge` string, nullable
- `code_challenge_method` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
