Salesforce · JSON Structure

Salesforce O Auth2 Structure

Type: object Properties: 3 Required: 3
Fortune 500Artificial IntelligenceAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

OAuth2 is a JSON Structure definition published by Salesforce, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

type description flows

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "OAuth2",
  "properties": {
    "type": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "flows": {
      "type": "object",
      "properties": {
        "implicit": {
          "type": "object",
          "properties": {
            "authorizationUrl": {
              "type": "string"
            },
            "scopes": {
              "type": "object",
              "properties": {
                "visualforce": {
                  "type": "string"
                },
                "address": {
                  "type": "string"
                },
                "custom_permissions": {
                  "type": "string"
                },
                "openid": {
                  "type": "string"
                },
                "profile": {
                  "type": "string"
                },
                "refresh_token": {
                  "type": "string"
                },
                "wave_api": {
                  "type": "string"
                },
                "web": {
                  "type": "string"
                },
                "phone": {
                  "type": "string"
                },
                "offline_access": {
                  "type": "string"
                },
                "chatter_api": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "api": {
                  "type": "string"
                },
                "eclair_api": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "pardot_api": {
                  "type": "string"
                },
                "full": {
                  "type": "string"
                }
              },
              "required": [
                "visualforce",
                "address",
                "custom_permissions",
                "openid",
                "profile",
                "refresh_token",
                "wave_api",
                "web",
                "phone",
                "offline_access",
                "chatter_api",
                "id",
                "api",
                "eclair_api",
                "email",
                "pardot_api",
                "full"
              ]
            }
          },
          "required": [
            "authorizationUrl",
            "scopes"
          ]
        },
        "password": {
          "type": "object",
          "properties": {
            "tokenUrl": {
              "type": "string"
            },
            "scopes": {
              "type": "object",
              "properties": {
                "api": {
                  "type": "string"
                }
              },
              "required": [
                "api"
              ]
            }
          },
          "required": [
            "tokenUrl",
            "scopes"
          ]
        },
        "authorizationCode": {
          "type": "object",
          "properties": {
            "authorizationUrl": {
              "type": "string"
            },
            "tokenUrl": {
              "type": "string"
            },
            "scopes": {
              "type": "object",
              "properties": {
                "visualforce": {
                  "type": "string"
                },
                "address": {
                  "type": "string"
                },
                "custom_permissions": {
                  "type": "string"
                },
                "openid": {
                  "type": "string"
                },
                "profile": {
                  "type": "string"
                },
                "refresh_token": {
                  "type": "string"
                },
                "wave_api": {
                  "type": "string"
                },
                "web": {
                  "type": "string"
                },
                "phone": {
                  "type": "string"
                },
                "offline_access": {
                  "type": "string"
                },
                "chatter_api": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "api": {
                  "type": "string"
                },
                "eclair_api": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "pardot_api": {
                  "type": "string"
                },
                "full": {
                  "type": "string"
                }
              },
              "required": [
                "visualforce",
                "address",
                "custom_permissions",
                "openid",
                "profile",
                "refresh_token",
                "wave_api",
                "web",
                "phone",
                "offline_access",
                "chatter_api",
                "id",
                "api",
                "eclair_api",
                "email",
                "pardot_api",
                "full"
              ]
            }
          },
          "required": [
            "authorizationUrl",
            "tokenUrl",
            "scopes"
          ]
        }
      },
      "required": [
        "implicit",
        "password",
        "authorizationCode"
      ]
    }
  },
  "required": [
    "type",
    "description",
    "flows"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/salesforce-o-auth2-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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