PipesHub · Schema

OAuthConsentRequest

Request to submit user consent for OAuth authorization

CompanyArtificial IntelligenceEnterprise SearchAI AgentsOpen SourceKnowledge ManagementWorkplace AI

Properties

Name Type Description
client_id string The OAuth app's client ID
redirect_uri string Redirect URI (must match authorization request)
scope string Requested scopes
state string State parameter from authorization request
consent string User's consent decision
code_challenge string PKCE code challenge (base64url, 43-128 chars). Required for public (non-confidential) clients; without it the consent is answered with a redirect carrying `error=invalid_request` and no code is issued
code_challenge_method string PKCE challenge method. Only `S256` is accepted; `plain` is rejected with `400`. Defaults to `S256` when omitted.
View JSON Schema on GitHub

JSON Schema

pipeshub-oauth-consent-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipeshub/json-schema/pipeshub-oauth-consent-request-schema.json",
  "title": "OAuthConsentRequest",
  "description": "Request to submit user consent for OAuth authorization",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pipeshub-oauth-provider-api-openapi.yml#/components/schemas/OAuthConsentRequest",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "description": "The OAuth app's client ID"
    },
    "redirect_uri": {
      "type": "string",
      "format": "uri",
      "description": "Redirect URI (must match authorization request)"
    },
    "scope": {
      "type": "string",
      "description": "Requested scopes"
    },
    "state": {
      "type": "string",
      "description": "State parameter from authorization request"
    },
    "consent": {
      "type": "string",
      "enum": [
        "granted",
        "denied"
      ],
      "description": "User's consent decision"
    },
    "code_challenge": {
      "type": "string",
      "description": "PKCE code challenge (base64url, 43-128 chars). Required for public\n(non-confidential) clients; without it the consent is answered\nwith a redirect carrying `error=invalid_request` and no code is\nissued. Optional for confidential clients.\n"
    },
    "code_challenge_method": {
      "type": "string",
      "enum": [
        "S256"
      ],
      "description": "PKCE challenge method. Only `S256` is accepted; `plain` is rejected with `400`. Defaults to `S256` when omitted."
    }
  },
  "required": [
    "client_id",
    "redirect_uri",
    "scope",
    "state",
    "consent"
  ]
}

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/pipeshub-oauth-consent-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. See our Privacy Policy and Terms.

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