---
title: "Register OAuth client (DCR)"
method: POST
path: "/public/v1/oauth/register/"
tags: ["OAuth"]
---

# Register OAuth client (DCR)

`POST /public/v1/oauth/register/`

Open endpoint — no authentication required. Desktop/CLI apps call this once to obtain a client_id they persist locally and reuse for all future authorize flows.

## Request body

- RegisterClientRequest
  - `client_name` string, required — Human-readable name of the client application.
  - `redirect_uris` string[], required — List of allowed redirect URIs. At least one is required. The redirect_uri used in the authorization request must exactly match one of these.
  - `scope` string — Space-separated list of requested scopes. Available value: `all`. Defaults to `all` if omitted.

## Response `201`

- RegisterClientResponse
  - `client_id` string, required — Unique identifier for the registered client. Persist this value — it is required for all subsequent authorization requests.
  - `client_name` string, required — Human-readable name of the client application.
  - `redirect_uris` string[], required — Registered redirect URIs for this client.
  - `scope` string, required — Space-separated list of scopes granted to this client.
  - `token_endpoint_auth_method` string, required — Authentication method for the token endpoint. Always `none` (public client, PKCE required).
  - `grant_types` string[], required — Supported grant types. Always `[authorization_code, refresh_token]`.
  - `response_types` string[], required — Supported response types. Always `[code]`.
  - `client_id_issued_at` integer, required — Unix timestamp of when the client_id was issued.

## Other responses

- `400` — Bad request — invalid or missing parameters.
- `422` — Unprocessable entity — validation failed.

---

[API](https://skmtc.net/influencers/apis/core-api-concepts.md) · [All operations](https://skmtc.net/influencers/apis/core-api-concepts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/influencers/core-api-concepts/versions/cd6c016f2cd6/schema)
