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

# POST /api/oauth2/authorize/

`POST /api/oauth2/authorize/`

## Query parameters

- `client_id` string

## Request body

- ApplicationAuthorizeSchema
  - `authorize` boolean, required
  - `guild_id` string, required
  - `permissions` string, required
  - `captcha_key` string
  - `code` string

## Response `200`

- OAuthAuthorizeResponse
  - `location` string, required

## Other responses

- `400`
- `403`
- `404`

---

[API](https://skmtc.net/spacebarchat/apis/spacebar-server.md) · [All operations](https://skmtc.net/spacebarchat/apis/spacebar-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacebarchat/spacebar-server/versions/034b4e879932/schema)
