---
title: "Register"
method: POST
path: "/oauth/register"
tags: ["OAuth"]
---

# Register

`POST /oauth/register`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/oauth/register`
- Auth: none declared

RFC 7591 dynamic client registration.

## Request body

- ClientRegistrationRequest: RFC 7591 dynamic client registration request.
  - `client_name` string, required
  - `redirect_uris` string[], required
  - `grant_types` string[], nullable
  - `response_types` string[], nullable
  - `scope` string, nullable
  - `token_endpoint_auth_method` string

## Response `201`

Successful Response

- ClientRegistrationResponse: RFC 7591 dynamic client registration response.
  - `client_id` string, required
  - `client_secret` string, nullable
  - `client_name` string, required
  - `redirect_uris` string[], required
  - `grant_types` string[], required
  - `response_types` string[], required
  - `scope` string, required
  - `token_endpoint_auth_method` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rubenayla/apis/partle-api.md) · [All operations](https://skmtc.dev/rubenayla/apis/partle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rubenayla/apis/partle-api/revisions/628cce2acee5?raw)
