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

# POST /oauth2/authorize/

`POST /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`

## Changes

- **2026-04-28** `d209eb052880` — 1 info
  - endpoint added
- **2026-04-19** `1cde78e24558` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/spacebarchat/apis/spacebar-server/changes/oauth2/authorize/post.md)

---

[API](https://skmtc.dev/spacebarchat/apis/spacebar-server.md) · [All operations](https://skmtc.dev/spacebarchat/apis/spacebar-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spacebarchat/spacebar-server/revisions/a15db2c050e7/schema)
