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

# Register Client

`POST /oauth/register`

## Request

- Base URL: `https://api.heirmos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.heirmos.com/oauth/register`
- Auth: none declared

## Request body

- ClientRegistrationRequest
  - `redirect_uris` string[], required
  - `client_name` string, nullable
  - `token_endpoint_auth_method` string, nullable
  - `grant_types` string[], nullable
  - `response_types` string[], nullable

## Response `201`

Successful Response

- ClientRegistrationResponse
  - `client_id` string, required
  - `client_id_issued_at` integer, required
  - `redirect_uris` string[], required
  - `client_name` string, nullable, required
  - `token_endpoint_auth_method` string, required
  - `grant_types` string[], required
  - `response_types` string[], required
  - `code_challenge_methods_supported` string[], required

## Other responses

- `422`: Validation Error

---

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