---
title: "Register a new client"
method: POST
path: "/api/v1beta1/clients"
tags: ["clients"]
---

# Register a new client

`POST /api/v1beta1/clients`

## Request body

- Client
  - `client_id` string, required
  - `client_secret` string — Required for clients with kind 'confidential'
  - `kind` 'public' | 'confidential', required
  - `allowed_scopes` string, required
  - `allowed_redirect_uris` string[], required

## Response `200`

New client details

- Client
  - `client_id` string, required
  - `client_secret` string — Required for clients with kind 'confidential'
  - `kind` 'public' | 'confidential', required
  - `allowed_scopes` string, required
  - `allowed_redirect_uris` string[], required

## Other responses

- `401` — Authentication failed
- `409` — A client with the given client ID already exists

---

[API](https://skmtc.net/enseadaio/apis/enseada.md) · [All operations](https://skmtc.net/enseadaio/apis/enseada/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enseadaio/enseada/revisions/e8c51f6a5e52/schema)
