---
title: "Register an OAuth client for MCP access (org_admin; secret shown once)"
method: POST
path: "/api/orgs/{orgId}/oauth-clients"
tags: ["oauth"]
---

# Register an OAuth client for MCP access (org_admin; secret shown once)

`POST /api/orgs/{orgId}/oauth-clients`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/orgs/{orgId}/oauth-clients`
- Auth: none declared

## Path parameters

- `orgId` string, required

## Request body

- CreateOAuthClientBody
  - `name` string, required
  - `redirectUris` string[], required
  - `tokenEndpointAuthMethod` 'none' | 'client_secret_post' | 'client_secret_basic'

## Response `201`

Registered.

- object
  - `id` string, required
  - `name` string, required
  - `clientId` string, required
  - `redirectUris` string[], required
  - `tokenEndpointAuthMethod` string, required
  - `createdAt` string, required
  - `createdBy` string
  - `clientSecret` string

## Other responses

- `400`: Invalid metadata.
- `403`: Insufficient role.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
