---
title: "OAuth authorization endpoint"
method: GET
path: "/oauth/authorize"
tags: ["OAuth Protocol"]
---

# OAuth authorization endpoint

`GET /oauth/authorize`

OAuth 2.0 authorization endpoint for the authorization code flow

## Query parameters

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

## Response `200`

Consent page displayed (when consent UI is embedded)

## Other responses

- `302` — Redirect to consent page or client with authorization code/error
- `400` — Invalid request
- `404` — Client not found
- `422` — Invalid redirect URI

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/3fdc16374d70/schema)
