pricklymails-com · Schema

TokenRequest

`POST /oauth/token` request body (RFC 6749 sections 4.1.3 and 6), submitted as `application/x-www-form-urlencoded`, the content type every RFC-conformant OAuth client uses for the token endpoint. Fields are grouped by grant type: `code`, `redirect_uri`, and `code_verifier` apply only to `grant_type=authorization_code`; `refresh_token` applies only to `grant_type=refresh_token`. A field that does not apply to the presented grant type is ignored.

Email VerificationAPISaaSData ValidationEU-hosted

Properties

Name Type Description
client_id string The client's public `client_id`.
code stringnull The single-use authorization code to redeem (`authorization_code` grant only).
code_verifier stringnull The PKCE `code_verifier` (RFC 7636) proving possession of the `code_challenge` presented at `/oauth/authorize` (`authorization_code` grant only).
grant_type string Either `"authorization_code"` or `"refresh_token"`.
redirect_uri stringnull The redirect URI presented at `/oauth/authorize`, re-checked here per RFC 6749 section 4.1.3 (`authorization_code` grant only).
refresh_token stringnull The refresh token to redeem (`refresh_token` grant only, RFC 6749 section 6).
View JSON Schema on GitHub

JSON Schema

pricklymails-com-token-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pricklymails-com/json-schema/pricklymails-com-token-request-schema.json",
  "title": "TokenRequest",
  "description": "`POST /oauth/token` request body (RFC 6749 sections 4.1.3 and 6), submitted as `application/x-www-form-urlencoded`,\nthe content type every RFC-conformant OAuth client uses for the token endpoint.\nFields are grouped by grant type: `code`, `redirect_uri`, and `code_verifier` apply only to\n`grant_type=authorization_code`; `refresh_token` applies only to `grant_type=refresh_token`.\nA field that does not apply to the presented grant type is ignored.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pricklymails-com-openapi.json#/components/schemas/TokenRequest",
  "type": "object",
  "required": [
    "grant_type",
    "client_id"
  ],
  "properties": {
    "client_id": {
      "type": "string",
      "description": "The client's public `client_id`."
    },
    "code": {
      "type": [
        "string",
        "null"
      ],
      "description": "The single-use authorization code to redeem (`authorization_code` grant only)."
    },
    "code_verifier": {
      "type": [
        "string",
        "null"
      ],
      "description": "The PKCE `code_verifier` (RFC 7636) proving possession of the `code_challenge` presented at `/oauth/authorize`\n(`authorization_code` grant only)."
    },
    "grant_type": {
      "type": "string",
      "description": "Either `\"authorization_code\"` or `\"refresh_token\"`."
    },
    "redirect_uri": {
      "type": [
        "string",
        "null"
      ],
      "description": "The redirect URI presented at `/oauth/authorize`, re-checked here per RFC 6749 section 4.1.3\n(`authorization_code` grant only)."
    },
    "refresh_token": {
      "type": [
        "string",
        "null"
      ],
      "description": "The refresh token to redeem (`refresh_token` grant only, RFC 6749 section 6)."
    }
  }
}

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/pricklymails-com-token-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.