# Register a public OAuth client

```http
POST /oauth/register
```

Register OAuth public client.

## Request body

| Field                        | Type   | Required | Description |
| ---------------------------- | ------ | -------- | ----------- |
| `redirect_uris`              | array  | Yes      |             |
| `client_name`                | string |          |             |
| `client_uri`                 | string |          |             |
| `software_id`                | string |          |             |
| `software_version`           | string |          |             |
| `token_endpoint_auth_method` | string |          |             |
| `grant_types`                | array  |          |             |
| `response_types`             | array  |          |             |

## Responses

| Status | Description                |
| ------ | -------------------------- |
| 201    | Public client registration |
| 400    | Invalid OAuth request      |
| 500    | OAuth service unavailable  |
