Ampersand · JSON Structure

Ampersand Api Connection Request Structure

ConnectionRequest schema from Ampersand API

Type: object Properties: 13
Developer ToolsIntegrationPlatformSoftware-as-a-ServiceAuthenticationData SyncWebhook

ConnectionRequest is a JSON Structure definition published by Ampersand, describing 13 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

providerWorkspaceRef providerMetadata groupName groupRef consumerName consumerRef provider apiKey customAuth basicAuth oauth2ClientCredentials oauth2PasswordCredentials oauth2AuthorizationCode

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ampersand/refs/heads/main/json-structure/ampersand-api-connection-request-structure.json",
  "name": "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 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/ampersand-api-connection-request-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 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.