---
title: "POST /api/v1.0/{appId}/oauthclients"
method: POST
path: "/api/v1.0/{appId}/oauthclients"
tags: ["OAuthClients"]
---

# POST /api/v1.0/{appId}/oauthclients

`POST /api/v1.0/{appId}/oauthclients`

## Path parameters

- `appId` string, required

## Request body

- OAuthApp — Oauth client (also knowns as 'app')
  - `OauthAppId` string — OAuth App Identifier
  - `OauthAppName` string — OAuth App Name
  - `OwnerUserId` integer — OAuth App owner user identifier
  - `LogoUri` string — OAuth App logo uri
  - `Flow` 'AuthorizationCode' | 'Implicit' | 'Hybrid' | 'ClientCredentials', nullable — Supported OpenID Connect flows
  - `RefreshTokenUsage` 'ReUse' | 'OneTimeOnly', nullable — ReUse: the refresh token handle will stay the same when refreshing tokens OneTime: the refresh token handle will be updated when refreshing tokens
  - `AccessTokenLifetime` integer, nullable — Timem it takes for the IdentityToken to expire in seconds
  - `AbsoluteRefreshTokenLifetime` integer, nullable — Maximum lifetime of a refresh token in seconds

## Response `200`

OK

## Other responses

- `400` — BadRequest
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.net/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flipdish/flipdish-open-api-v1-0/versions/a72c0465da74/schema)
