Ampersand · Schema

ConnectionRequest

ConnectionRequest schema from Ampersand API

Developer ToolsIntegrationPlatformSoftware-as-a-ServiceAuthenticationData SyncWebhook

Properties

Name Type Description
providerWorkspaceRef string The ID of the provider workspace that this connection belongs to.
providerMetadata object
groupName string The name of the user group that has access to this installation.
groupRef string The ID of the user group that has access to this installation.
consumerName string The name of the consumer that has access to this installation.
consumerRef string The consumer reference.
provider string The provider name (e.g. "salesforce", "hubspot")
apiKey string The API key to use for the connection.
customAuth object Values used for custom auth input variables.
basicAuth object
oauth2ClientCredentials object
oauth2PasswordCredentials object
oauth2AuthorizationCode object
View JSON Schema on GitHub

JSON Schema

ampersand-api-connection-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ampersand/refs/heads/main/json-schema/ampersand-api-connection-request-schema.json",
  "title": "ConnectionRequest",
  "description": "ConnectionRequest schema from Ampersand API",
  "type": "object",
  "properties": {
    "providerWorkspaceRef": {
      "type": "string",
      "description": "The ID of the provider workspace that this connection belongs to."
    },
    "providerMetadata": {
      "$ref": "#/components/schemas/ProviderMetadata"
    },
    "groupName": {
      "type": "string",
      "description": "The name of the user group that has access to this installation."
    },
    "groupRef": {
      "type": "string",
      "description": "The ID of the user group that has access to this installation.",
      "example": "group-123"
    },
    "consumerName": {
      "type": "string",
      "description": "The name of the consumer that has access to this installation."
    },
    "consumerRef": {
      "type": "string",
      "description": "The consumer reference."
    },
    "provider": {
      "type": "string",
      "description": "The provider name (e.g. \"salesforce\", \"hubspot\")"
    },
    "apiKey": {
      "type": "string",
      "description": "The API key to use for the connection."
    },
    "customAuth": {
      "type": "object",
      "description": "Values used for custom auth input variables.",
      "additionalProperties": {
        "type": "string",
        "nullable": false
      },
      "example": {
        "apiKey": "abcd1234",
        "password": "secret"
      }
    },
    "basicAuth": {
      "type": "object",
      "required": [
        "username",
        "password"
      ],
      "properties": {
        "username": {
          "type": "string",
          "description": "The username to use for the connection."
        },
        "password": {
          "type": "string",
          "description": "The password to use for the connection."
        }
      }
    },
    "oauth2ClientCredentials": {
      "type": "object",
      "required": [
        "clientId",
        "clientSecret"
      ],
      "properties": {
        "clientId": {
          "type": "string",
          "description": "The client ID to use for the connection."
        },
        "clientSecret": {
          "type": "string",
          "description": "The client secret to use for the connection."
        },
        "scopes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The scopes for the tokens."
        }
      }
    },
    "oauth2PasswordCredentials": {
      "type": "object",
      "required": [
        "username",
        "password",
        "clientId",
        "clientSecret"
      ],
      "properties": {
        "username": {
          "type": "string",
          "description": "The username to use for the connection."
        },
        "password": {
          "type": "string",
          "description": "The password to use for the connection."
        },
        "clientId": {
          "type": "string",
          "description": "The client ID to use for the connection."
        },
        "clientSecret": {
          "type": "string",
          "description": "The client secret to use for the connection."
        },
        "scopes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The scopes for the tokens."
        }
      }
    },
    "oauth2AuthorizationCode": {
      "$ref": "#/components/schemas/Oauth2AuthorizationCode"
    }
  }
}

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/ampersand-api-connection-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.