KnoxCall · Schema

OAuthTokenRequest

OAuth 2.1 token request (RFC 6749 §4, RFC 8628 §3.4). Sent as `application/x-www-form-urlencoded`.

CompanyAPI ManagementSecurityDevOpsAI Agents

Properties

Name Type Description
grant_type string The OAuth 2.1 grant type.
client_id string The OAuth client identifier. Required for public clients; confidential clients may instead use HTTP Basic auth.
client_secret string The OAuth client secret (confidential clients only).
scope string Space-delimited list of requested scopes.
code string Authorization code (for `authorization_code` grant).
redirect_uri string Must match the redirect URI used in the authorization request (`authorization_code` grant).
code_verifier string PKCE code verifier (RFC 7636). Required for public clients using the `authorization_code` grant.
refresh_token string The refresh token (for `refresh_token` grant).
device_code string The device code (for the device-code grant).
View JSON Schema on GitHub

JSON Schema

knoxcall-oauth-token-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knoxcall/json-schema/knoxcall-oauth-token-request-schema.json",
  "title": "OAuthTokenRequest",
  "description": "OAuth 2.1 token request (RFC 6749 §4, RFC 8628 §3.4). Sent as `application/x-www-form-urlencoded`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knoxcall-oauth-clients-api-openapi.yml#/components/schemas/OAuthTokenRequest",
  "type": "object",
  "required": [
    "grant_type"
  ],
  "properties": {
    "grant_type": {
      "type": "string",
      "enum": [
        "client_credentials",
        "authorization_code",
        "refresh_token",
        "urn:ietf:params:oauth:grant-type:device_code"
      ],
      "description": "The OAuth 2.1 grant type."
    },
    "client_id": {
      "type": "string",
      "description": "The OAuth client identifier. Required for public clients; confidential clients may instead use HTTP Basic auth."
    },
    "client_secret": {
      "type": "string",
      "description": "The OAuth client secret (confidential clients only)."
    },
    "scope": {
      "type": "string",
      "description": "Space-delimited list of requested scopes."
    },
    "code": {
      "type": "string",
      "description": "Authorization code (for `authorization_code` grant)."
    },
    "redirect_uri": {
      "type": "string",
      "format": "uri",
      "description": "Must match the redirect URI used in the authorization request (`authorization_code` grant)."
    },
    "code_verifier": {
      "type": "string",
      "description": "PKCE code verifier (RFC 7636). Required for public clients using the `authorization_code` grant."
    },
    "refresh_token": {
      "type": "string",
      "description": "The refresh token (for `refresh_token` grant)."
    },
    "device_code": {
      "type": "string",
      "description": "The device code (for the device-code grant)."
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/knoxcall-oauth-token-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.