---
title: "Register"
method: POST
path: "/oauth/register"
---

# Register

`POST /oauth/register`

## Request

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

## Request body

- XhostdRoutesOauthRegisterRequest
  - `redirect_uris` string[], required
  - `client_name` string, nullable

## Response `200`

Successful Response

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

## Other responses

- `422`: Validation Error

---

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