---
title: "Register a public client. Redirect-free registration requires explicit device_code grant."
method: POST
path: "/oauth/register"
---

# Register a public client. Redirect-free registration requires explicit device_code grant.

`POST /oauth/register`

## Request

- Base URL: `https://paperagent.dev`
- URL: `https://paperagent.dev/oauth/register`
- Auth: none required

## Request body

- object
  - `client_name` string
  - `redirect_uris` string[]
  - `grant_types` string[]
  - `response_types` string[]
  - `token_endpoint_auth_method` 'none'
  - `scope` string

## Response `201`

Client metadata and client_id. No client secret.

## Other responses

- `400`: Invalid client metadata.

---

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