---
title: "Register an OAuth2 dynamic client"
method: POST
path: "/oauth/register"
tags: ["oauth"]
---

# Register an OAuth2 dynamic client

`POST /oauth/register`

Public RFC 7591 Dynamic Client Registration endpoint. Only mints public clients with loopback HTTP or HTTPS-with-domain redirect URIs. Body limit 8 KB.

## Request body

- OauthClientRegistrationRequest
  - `client_name` string
  - `grant_types` string[]
  - `redirect_uris` string[]
  - `response_types` string[]
  - `scope` string
  - `token_endpoint_auth_method` string

## Response `201`

Created

- OauthClientRegistrationResponse
  - `client_id` string
  - `client_id_issued_at` integer
  - `client_name` string
  - `grant_types` string[]
  - `redirect_uris` string[]
  - `response_types` string[]
  - `token_endpoint_auth_method` string

## Other responses

- `400` — Bad Request
- `413` — Request Entity Too Large
- `500` — Internal Server Error

---

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