---
title: "Authorization Request Endpoint"
method: GET
path: "/Profile/OAuth2/RequestGrant"
tags: ["OAuth2 Flow"]
---

# Authorization Request Endpoint

`GET /Profile/OAuth2/RequestGrant`

## Request

- Base URL: `https://api.runsignup.com`
- URL: `https://api.runsignup.com/Profile/OAuth2/RequestGrant`
- Auth: none declared
- TypeScript: <https://skmtc.dev/runsignup/apis/runsignup-oauth2-authentication-api/docs/Profile/OAuth2/RequestGrant/get.ts> (a function with typed inputs; its response is checked against the schema)

Initiate OAuth2 authorization code flow. Redirects user to RunSignUp login page and then to authorization consent screen.

## Query parameters

- `response_type` 'code', required
- `client_id` string, required
- `redirect_uri` string, uri, required
- `scope` 'rsu_api_read' | 'rsu_api_write' | 'rsu_api_read rsu_api_write'
- `state` string
- `code_challenge` string
- `code_challenge_method` 'plain' | 'S256'

## Other responses

- `302`: Redirect to authorization callback with authorization code or error
- `400`: Bad Request - Invalid parameters

---

[API](https://skmtc.dev/runsignup/apis/runsignup-oauth2-authentication-api.md) - [All operations](https://skmtc.dev/runsignup/apis/runsignup-oauth2-authentication-api/llms.txt) - [OpenAPI document](https://skmtc.dev/runsignup/apis/runsignup-oauth2-authentication-api/revisions/6195b3437b58?raw)
