Otter · Schema
OAuthTokenGenerationRequest
The entity to request a token, following the OAuth2.0 protocol.
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics
Properties
| Name | Type | Description |
|---|---|---|
| client_id | string | The ID of the client (also known as the Application ID). |
| client_secret | string | The secret of the client. |
| grant_type | string | The OAuth2.0 grant types supported. |
| scope | string | The scope to request, multiple scopes are passed delimited by a space character. |
| code | string | The authorization code obtained from the server when performing the authorization code flow. It is required to exchange the code for an access token that will be used to perform actions on behalf of a |
| redirect_uri | string | The redirect URI that was included in the initial authorization request. The value must be an exact match of the previously used URI, otherwise the request will be rejected. |
| code_verifier | string | If the code_challenge parameter was included in the initial authorization requests, the application must now provide the code verifier. The value is the plaintext string that was used to calculate the |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "OAuthTokenGenerationRequest",
"description": "The entity to request a token, following the OAuth2.0 protocol.",
"$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-oauth-token-generation-request-schema.json",
"type": "object",
"properties": {
"client_id": {
"type": "string",
"description": "The ID of the client (also known as the Application ID).",
"format": "uuid",
"example": "c75d9460-5d48-423d-8d01-f825fd5b1672"
},
"client_secret": {
"type": "string",
"description": "The secret of the client.",
"example": "string"
},
"grant_type": {
"type": "string",
"description": "The OAuth2.0 grant types supported.",
"enum": [
"client_credentials",
"authorization_code"
],
"example": "client_credentials"
},
"scope": {
"type": "string",
"description": "The scope to request, multiple scopes are passed delimited by a space character.",
"example": "scope1 scope2"
},
"code": {
"type": "string",
"nullable": true,
"description": "The authorization code obtained from the server when performing the authorization code flow. It is required to exchange the code for an access token that will be used to perform actions on behalf of a user.",
"example": "8A9D16B4C3E25F6A"
},
"redirect_uri": {
"type": "string",
"nullable": true,
"description": "The redirect URI that was included in the initial authorization request. The value must be an exact match of the previously used URI, otherwise the request will be rejected.",
"example": "https://example.com/callback"
},
"code_verifier": {
"type": "string",
"nullable": true,
"description": "If the code_challenge parameter was included in the initial authorization requests, the application must now provide the code verifier. The value is the plaintext string that was used to calculate the hash that was previously sent in the code_challenge parameter.",
"example": "Th7UHJdLswIYQxwSg29DbK1a_d9o41uNMTRmuH0PM8zyoMAQ"
}
},
"required": [
"grant_type",
"scope"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/public-api-oauth-token-generation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.