---
title: "POST /oauth2/authorize"
method: POST
path: "/oauth2/authorize"
tags: ["authorization"]
---

# POST /oauth2/authorize

`POST /oauth2/authorize`

OAuth2 認可エンドポイント

## Other responses

- `302` — 結果に応じてリダイレクトします。
- `400` — リクエストが不正です。
- `403` — リクエストが許可されていません。

## Changes

- **2019-09-09** `f291e1b35a23` — 1 breaking
  - request body became required
- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `postOauth2Authorize` was added
- **2019-07-22** `d2f7470b1a57` — 2 breaking, 4 info
  - request property `prompt` was restricted to a list of enum values
  - request property `response_type` was restricted to a list of enum values
  - added the new `code` enum value to the request property `response_type`
  - added the new `none` enum value to the request property `prompt`
  - …2 more
- **2019-07-05** `6956f2622a20` — 7 info
  - api operation id `postOauth2Authorize` removed and replaced with ``
  - endpoint reactivated
  - added optional request body
  - added the non-success response with the status `302`
  - …3 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/oauth2/authorize/post.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/801af87793dd/schema)
