---
title: "Create OAuth developer client"
method: POST
path: "/api/v1/oauth/clients"
tags: ["OAuth"]
---

# Create OAuth developer client

`POST /api/v1/oauth/clients`

## Request

- Base URL: `https://www.poster.ly`
- URL: `https://www.poster.ly/api/v1/oauth/clients`
- Auth: HTTP bearer

Create a public OAuth 2.1 + PKCE client for third-party apps. Redirect URIs are exact-match only; HTTPS is required except localhost development callbacks.

## Request body

- OAuthClientRequest
  - `client_name` string
  - `description` string
  - `homepage` string, nullable
  - `allowed_redirect_uris` string[]
  - `default_scopes` string[]
  - `is_active` boolean

## Response `201`

OAuth client created successfully

- OAuthClientResponse
  - `client` OAuthClient, required
    - `id` string, required
    - `client_id` string, required
    - `client_name` string, required
    - `description` string
    - `homepage` string, nullable
    - `allowed_redirect_uris` string[], required
    - `default_scopes` string[], required
    - `is_active` boolean, required
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400`: Validation error
- `401`: Invalid or missing API key
- `429`: Too many requests

---

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