---
title: "Create a new OAuth application for an organization"
method: POST
path: "/v1/core/oauth/apps"
---

# Create a new OAuth application for an organization

`POST /v1/core/oauth/apps`

This endpoint generates the client_id and client_secret you will need to generate OAuth tokens at a user scope.

## Request body

- object
  - `appName` string, required
  - `owner` string, required — The user that created this OAuth app.
  - `organizationId` string, required — The organization that owns this OAuth app.

## Response `201`

Create a new OAuth application for an organization

- object
  - `appName` string, required
  - `clientID` string, required
  - `clientSecret` string, required

---

[API](https://skmtc.dev/siro/apis/swagger-api.md) · [All operations](https://skmtc.dev/siro/apis/swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siro/swagger-api/revisions/9995339a94c6/schema)
