Yelp · Schema

Response when calling this endpoint using an authorization code.

RestaurantLocal SearchReviewsBusiness DataLocationPlacesGenerative AI

Properties

Name Type Description
access_token object Token issued by the authorization server. Tokens will be valid for 7 days.
expires_in integer Seconds until token expires.
expires_on string The expiration time of the access token in ISO8601 format.
token_type string The type of token issued. Default to ‘Bearer’
refresh_token object Refresh token that can be used to refresh the access token. Refresh tokens expire after 365 days.
refresh_token_expires_in integer Seconds until refresh token expires.
refresh_token_expires_on string The expiration time of the refresh token in ISO8601 format.
scopes string Space separated scope values for the scope the business owner authorized the partner's application for.
View JSON Schema on GitHub

JSON Schema

yelp-token-authorization-code-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yelp/json-schema/yelp-token-authorization-code-response-schema.json",
  "title": "Response when calling this endpoint using an authorization code.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yelp-oauth-authorization-v2-api-openapi.yml#/components/schemas/TokenAuthorizationCodeResponse",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/TokenRefreshTokenResponse"
    },
    {
      "type": "object",
      "properties": {
        "refresh_token": {
          "$ref": "#/$defs/token",
          "description": "Refresh token that can be used to refresh the access token. Refresh tokens expire after 365 days."
        },
        "refresh_token_expires_in": {
          "description": "Seconds until refresh token expires.",
          "type": "integer"
        },
        "refresh_token_expires_on": {
          "description": "The expiration time of the refresh token in ISO8601 format.",
          "type": "string",
          "format": "date-time"
        },
        "scopes": {
          "description": "Space separated scope values for the scope the business owner authorized the partner's application for.",
          "type": "string"
        }
      },
      "required": [
        "refresh_token",
        "refresh_token_expires_in",
        "refresh_token_expires_on",
        "scopes"
      ]
    }
  ],
  "$defs": {
    "TokenRefreshTokenResponse": {
      "title": "Response when calling this endpoint using a refresh token.",
      "type": "object",
      "properties": {
        "access_token": {
          "$ref": "#/$defs/token",
          "description": "Token issued by the authorization server. Tokens will be valid for 7 days."
        },
        "expires_in": {
          "description": "Seconds until token expires.",
          "type": "integer"
        },
        "expires_on": {
          "description": "The expiration time of the access token in ISO8601 format.",
          "type": "string",
          "format": "date-time"
        },
        "token_type": {
          "description": "The type of token issued. Default to ‘Bearer’",
          "type": "string"
        }
      },
      "required": [
        "access_token",
        "expires_in",
        "expires_on",
        "token_type"
      ]
    },
    "token": {
      "type": "string",
      "maxLength": 128,
      "minLength": 128,
      "pattern": "[A-Za-z0-9+/=]+"
    }
  }
}

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/yelp-token-authorization-code-response"
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.