Skip to content

CreateOAuthAppRequest

A new OAuth app.

object
name
required

The app’s name, 1 to 100 characters on one line.

string
<= 100 characters
website

The app’s home page, an absolute https or http URL of at most 2048 bytes.

string
<= 2048 characters
redirect_uris
required

1 to 10 redirect URIs (RFC 8252): an https URL, a private-use scheme in reverse domain notation (com.example.app:/callback), or an http loopback URL on 127.0.0.1 or [::1] (not localhost), none with a fragment or user info.

Array<string>
>= 1 items <= 10 items
scope
required

The most the app may request, space-separated scopes: not empty, and without the first-party-only scopes (admin, admin:read, admin:write, write:supporters).

string
client_type
required

public: the app has no secret (a single-page, native, or command-line app). confidential: the app runs on a server and authenticates with its secret at the token endpoint, by client_secret_basic or client_secret_post. Both use PKCE (S256). The type never changes.

string
Allowed values: public confidential

Example generated

{
"name": "example",
"website": "example",
"redirect_uris": [
"example"
],
"scope": "example",
"client_type": "public"
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site